Skip to content

Commit

Permalink
fixed Z direction in 3d view
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Weidauer committed Jun 25, 2024
1 parent 08e8ed8 commit ac4bb63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ui/PannerComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ void PannerComponent::timerCallback() {
pannerVisualisation.setVisualPosition(x, y, z, view);
} else {
// Coordinates are swapped to rotate the coordinate system by 90 degrees counter-clockwise
openGLVisualisation.setVisualPosition(-y, x, z);
openGLVisualisation.setVisualPosition(-y, x, -z);
}
}

0 comments on commit ac4bb63

Please sign in to comment.