diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-20 15:03:35 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-20 15:03:35 -0400 |
| commit | 0b8b54e26aa7a40065a0be6f7708b7021e4fec13 (patch) | |
| tree | d2ff9b6c953bbf86129e8d045a2e96049addb012 /public/assets/javascripts/rectangles/engine/sculpture/_sculpture.js | |
| parent | 546fba7ee9dac48d2fb0015709247b1b2efca8bc (diff) | |
resize scenery
Diffstat (limited to 'public/assets/javascripts/rectangles/engine/sculpture/_sculpture.js')
| -rw-r--r-- | public/assets/javascripts/rectangles/engine/sculpture/_sculpture.js | 4 |
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){ |
