Initial Commit: CC - SnailRunner - Before Render (rlley2ki2i.js)
parent
47a10d3b86
commit
7412fac926
|
@ -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
|
Loading…
Reference in New Issue