From 7412fac926e6dfe5ca5d18a3a78fa36b02fc025e Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 7 Mar 2018 14:03:56 +0100 Subject: [PATCH] Initial Commit: CC - SnailRunner - Before Render (rlley2ki2i.js) --- rlley2ki2i.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 rlley2ki2i.js diff --git a/rlley2ki2i.js b/rlley2ki2i.js new file mode 100644 index 0000000..1456ca4 --- /dev/null +++ b/rlley2ki2i.js @@ -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 \ No newline at end of file