()
| 88 | } |
| 89 | |
| 90 | render() { |
| 91 | // NOTE: Update uniform data on each render. |
| 92 | // this.uniforms.u_time.value += this.clock.getDelta(); |
| 93 | this.renderer.render(this.scene, this.camera); |
| 94 | } |
| 95 | |
| 96 | onWindowResize() { |
| 97 | this.camera.aspect = window.innerWidth / window.innerHeight; |