Please sign in to comment.
Updated to 105, added rotation constraint modes, removed now unnecess…
…ary setActions Added // By default, the camera is in "free rotation" mode, but you can // constrain it to any axis, around the look-at point: camera.setYawRotationMode(); // like spinning a globe camera.setPitchRotationMode(); // like a somersault camera.setRollRotationMode(); // like a radio knob camera.setSuppressRollRotationMode(); // Permit pitch/yaw only. // Then you can set it back to its default mode: camera.setFreeRotationMode(); Removed: camera.setPanActive(boolean active); //false to make the pan stop responding to mouse camera.setZoomActive(boolean active); //false to make the zoom stop responding to mouse camera.setRotateActive(boolean active); //false to make the rotate stop responding to mouse camera.isPanActive(); camera.isZoomActive(); camera.isRotateActive();
- Loading branch information...
Showing with 163 additions and 168 deletions.
Oops, something went wrong.