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

Method animate

14-tween-js/src/lib/SceneInit.js:81–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

AppFunction · 0.95

Calls 1

renderMethod · 0.95

Tested by

no test coverage detected