Update: entity_loaded (2c1eswtjvb.js) 8 bytes modified
parent
761f629616
commit
04c17e3ea4
|
@ -21,12 +21,12 @@ R3.CustomCode.prototype.render = function(delta) {
|
||||||
|
|
||||||
this.y += delta;
|
this.y += delta;
|
||||||
|
|
||||||
this.innerCircle.rotation.y += Math.sin(this.y) * 0.15;
|
// this.innerCircle.rotation.y += Math.sin(this.y) * 0.15;
|
||||||
this.innerCircle.updateInstance('rotation');
|
// this.innerCircle.updateInstance('rotation');
|
||||||
|
|
||||||
|
|
||||||
this.outerCircle.rotation.y -= Math.cos(this.y) * 0.15;
|
// this.outerCircle.rotation.y -= Math.cos(this.y) * 0.15;
|
||||||
this.outerCircle.updateInstance('rotation');
|
// this.outerCircle.updateInstance('rotation');
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue