summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/rectangles/engine/sculpture/_sculpture.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-04-20 15:03:35 -0400
committerJules Laplace <jules@okfoc.us>2015-04-20 15:03:35 -0400
commit0b8b54e26aa7a40065a0be6f7708b7021e4fec13 (patch)
treed2ff9b6c953bbf86129e8d045a2e96049addb012 /public/assets/javascripts/rectangles/engine/sculpture/_sculpture.js
parent546fba7ee9dac48d2fb0015709247b1b2efca8bc (diff)
resize scenery
Diffstat (limited to 'public/assets/javascripts/rectangles/engine/sculpture/_sculpture.js')
-rw-r--r--public/assets/javascripts/rectangles/engine/sculpture/_sculpture.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/assets/javascripts/rectangles/engine/sculpture/_sculpture.js b/public/assets/javascripts/rectangles/engine/sculpture/_sculpture.js
index 1543def..888b925 100644
--- a/public/assets/javascripts/rectangles/engine/sculpture/_sculpture.js
+++ b/public/assets/javascripts/rectangles/engine/sculpture/_sculpture.js
@@ -9,6 +9,7 @@ var Sculpture = new function(){
base.init = function(){
app.on("move", base.updateBillboards)
+ base.resize.init()
}
base.updateBillboards = function(){
@@ -17,6 +18,9 @@ var Sculpture = new function(){
sculpture.mx.rotationY = cam.rotationY
}
})
+ if (Sculpture.resize.obj && Sculpture.resize.obj.billboard) {
+ Sculpture.resize.move_dots()
+ }
}
base.add = function(opt){