-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hello,
I wanted to have an axis gizmo to represent the camera angle, but I'm having huge problems, cause the rotation values don't use shortest way.
Any idea how this could be fixed ?
pushMatrix();
translate(width/2, 50);
scale(3);
rotateX((cam.getRotations()[0])*-1);
rotateY((cam.getRotations()[1])*-1);
rotateZ((cam.getRotations()[2])*-1);
shape(axis);
popMatrix();Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
