feat: Implement Z-up axis orientation for ViewCube
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -128,11 +128,11 @@ void ViewCube::drawAxes()
|
|||||||
// Y-axis (green)
|
// Y-axis (green)
|
||||||
glColor3f(0.0, 1.0, 0.0);
|
glColor3f(0.0, 1.0, 0.0);
|
||||||
glVertex3f(0.0, 0.0, 0.0);
|
glVertex3f(0.0, 0.0, 0.0);
|
||||||
glVertex3f(0.0, 1.5, 0.0);
|
glVertex3f(0.0, 0.0, 1.5);
|
||||||
// Z-axis (blue)
|
// Z-axis (blue)
|
||||||
glColor3f(0.0, 0.0, 1.0);
|
glColor3f(0.0, 0.0, 1.0);
|
||||||
glVertex3f(0.0, 0.0, 0.0);
|
glVertex3f(0.0, 0.0, 0.0);
|
||||||
glVertex3f(0.0, 0.0, 1.5);
|
glVertex3f(0.0, 1.5, 0.0);
|
||||||
glEnd();
|
glEnd();
|
||||||
glLineWidth(1.0f);
|
glLineWidth(1.0f);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user