summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/rectangles/engine/sculpture
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/javascripts/rectangles/engine/sculpture')
-rw-r--r--public/assets/javascripts/rectangles/engine/sculpture/types/_object.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/javascripts/rectangles/engine/sculpture/types/_object.js b/public/assets/javascripts/rectangles/engine/sculpture/types/_object.js
index 2f24ae5..2f593e8 100644
--- a/public/assets/javascripts/rectangles/engine/sculpture/types/_object.js
+++ b/public/assets/javascripts/rectangles/engine/sculpture/types/_object.js
@@ -72,7 +72,7 @@ Sculpture.types.base = Fiber.extend(function(base){
else {
this.mx.el.classList.add("backface-visible")
this.mx.el.classList.remove("backface-hidden")
- this.mx.rotationY = PI/2
+ this.mx.rotationY = quantize(cam.rotationY, PI/2)
}
Sculpture.resize.move_dots()
},