()
| 90 | } |
| 91 | |
| 92 | function onWindowResize() { |
| 93 | camera.aspect = window.innerWidth / window.innerHeight; |
| 94 | camera.updateProjectionMatrix(); |
| 95 | |
| 96 | renderer.setSize(window.innerWidth, window.innerHeight); |
| 97 | } |
| 98 | |
| 99 | function animate() { |
| 100 | requestAnimationFrame(animate); |
nothing calls this directly
no outgoing calls
no test coverage detected