MCPcopy Create free account
hub / github.com/SuboptimalEng/three-js-tutorials / animate

Method animate

09-raycaster/src/lib/SceneInit.js:80–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78 }
79
80 animate() {
81 // NOTE: Window is implied.
82 // requestAnimationFrame(this.animate.bind(this));
83 window.requestAnimationFrame(this.animate.bind(this));
84 this.render();
85 this.stats.update();
86 this.controls.update();
87 }
88
89 render() {
90 // NOTE: Update uniform data on each render.

Callers 1

AppFunction · 0.95

Calls 1

renderMethod · 0.95

Tested by

no test coverage detected