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

Method animate

03-geometry/src/lib/SceneInit.js:79–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

AppFunction · 0.95

Calls 1

renderMethod · 0.95

Tested by

no test coverage detected