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