diff --git a/libs/geom/source/camera.cpp b/libs/geom/source/camera.cpp index 9b54a9f3..117affce 100644 --- a/libs/geom/source/camera.cpp +++ b/libs/geom/source/camera.cpp @@ -102,7 +102,7 @@ namespace psemek::geom translation({0.f, 0.f, -distance}).homogeneous_matrix() * homogeneous(swap(1, 2).matrix()) * homogeneous(scale({1.f, -1.f, 1.f}).matrix()) - * homogeneous(plane_rotation(2, 1, elevation_angle).matrix()) + * homogeneous(plane_rotation(1, 2, elevation_angle).matrix()) * homogeneous(plane_rotation(1, 0, azimuthal_angle).matrix()) * translation({ -target[0], -target[1], -target[2] }).homogeneous_matrix() ;