MCPcopy
hub / github.com/bgstaal/multipleWindow3dScene / updateWindowShape

Function updateWindowShape

main.js:140–145  ·  view source on GitHub ↗
(easing = true)

Source from the content-addressed store, hash-verified

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 ()

Callers 1

initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected