Initial Commit: CC - SnailRunner - Before Render (rlley2ki2i.js)

beta.r3js.org
-=yb4f310 2018-03-07 14:03:56 +01:00
parent 47a10d3b86
commit 7412fac926
1 changed files with 15 additions and 0 deletions

15
rlley2ki2i.js Normal file
View File

@ -0,0 +1,15 @@
if (!this.entityLoaded) {
return;
}
if (!this.initialized) {
this.road = this.entityLoaded.road;
this.initialized = true;
}
this.road.rotation.z += 0.00001 * data.delta;
this.road.updateInstance('rotation');
//@ sourceURL=beforeRender.js