Update: entity_loaded (2c1eswtjvb.js) 36 bytes modified

beta.r3js.org
cybafelo 2019-06-23 09:12:20 +00:00
parent 3e6df67607
commit 761f629616
1 changed files with 2 additions and 2 deletions

View File

@ -21,11 +21,11 @@ R3.CustomCode.prototype.render = function(delta) {
this.y += delta;
this.innerCircle.rotation.y += Math.sin(this.y) * 0.15 * Math.random(10);
this.innerCircle.rotation.y += Math.sin(this.y) * 0.15;
this.innerCircle.updateInstance('rotation');
this.outerCircle.rotation.y -= Math.cos(this.y) * 0.15 * Math.random(10);
this.outerCircle.rotation.y -= Math.cos(this.y) * 0.15;
this.outerCircle.updateInstance('rotation');
}