We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4770e65 commit 49256ebCopy full SHA for 49256eb
src/view.cpp
@@ -293,7 +293,10 @@ glm::mat4 computeHomeView() {
293
}
294
295
// Rotate around the up axis, since our camera looks down -Z
296
- R = glm::rotate(R, static_cast<float>(PI), baseUp);
+ // (except in planar mode, where we look down +Z so default axes are as-expected)
297
+ if (style != NavigateStyle::Planar) {
298
+ R = glm::rotate(R, static_cast<float>(PI), baseUp);
299
+ }
300
301
glm::mat4x4 Tobj = glm::translate(glm::mat4x4(1.0), -state::center());
302
glm::mat4x4 Tcam =
0 commit comments