(easing = true)
| 138 | } |
| 139 | |
| 140 | function updateWindowShape (easing = true) |
| 141 | { |
| 142 | // storing the actual offset in a proxy that we update against in the render function |
| 143 | sceneOffsetTarget = {x: -window.screenX, y: -window.screenY}; |
| 144 | if (!easing) sceneOffset = sceneOffsetTarget; |
| 145 | } |
| 146 | |
| 147 | |
| 148 | function render () |