Update: entity_loaded (2c1eswtjvb.js) 2 bytes modified
parent
83f8fc1276
commit
784055b639
|
@ -21,11 +21,11 @@ R3.CustomCode.prototype.render = function(delta) {
|
||||||
|
|
||||||
this.y += delta;
|
this.y += delta;
|
||||||
|
|
||||||
this.innerCircle.rotation.y += Math.sin(this.y) * 0.2;
|
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.2;
|
this.outerCircle.rotation.y -= Math.cos(this.y) * 0.15;
|
||||||
this.outerCircle.updateInstance('rotation');
|
this.outerCircle.updateInstance('rotation');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue