Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a missing z rotation in autoCamera.

  • Loading branch information...
commit 5ac18d10b30f314ac39c942f63910bfc446edc8d 1 parent 703f74c
@deanm authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  demos/demo_utils.js
View
1  demos/demo_utils.js
@@ -177,6 +177,7 @@ DemoUtils = (function() {
function set_camera() {
var ct = renderer.camera.transform;
ct.reset();
+ ct.rotateZ(camera_state.rotate_z);
ct.rotateY(camera_state.rotate_y);
ct.rotateX(camera_state.rotate_x);
ct.translate(camera_state.x, camera_state.y, camera_state.z);
Please sign in to comment.
Something went wrong with that request. Please try again.