diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-03-30 17:35:30 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-03-30 17:45:46 -0400 |
| commit | b38b008981ee88c58cfff5c2e2e7820046dde415 (patch) | |
| tree | 624a3091ba62058131746214db52bb049ad17e83 /public/assets/javascripts/rectangles/engine/scenery/resize.js | |
| parent | 2a984d83343d6d5f7510697ac6f61d2def21e721 (diff) | |
store rotation on wall object
Diffstat (limited to 'public/assets/javascripts/rectangles/engine/scenery/resize.js')
| -rw-r--r-- | public/assets/javascripts/rectangles/engine/scenery/resize.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/javascripts/rectangles/engine/scenery/resize.js b/public/assets/javascripts/rectangles/engine/scenery/resize.js index 5af7f3f..73fd82a 100644 --- a/public/assets/javascripts/rectangles/engine/scenery/resize.js +++ b/public/assets/javascripts/rectangles/engine/scenery/resize.js @@ -49,7 +49,7 @@ Scenery.resize = new function(){ // rotate the dots as appropriate base.rotate_dots = function(){ - rotationY = wall_rotation[obj.wall.side] + rotationY = obj.wall.rotationY dots.forEach(function(dot){ dot.rotationY = rotationY }) |
