Update: entity_loaded (2c1eswtjvb.js) 0 bytes modified
parent
ca0062b203
commit
83f8fc1276
|
@ -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.1;
|
this.innerCircle.rotation.y += Math.sin(this.y) * 0.2;
|
||||||
this.innerCircle.updateInstance('rotation');
|
this.innerCircle.updateInstance('rotation');
|
||||||
|
|
||||||
|
|
||||||
this.outerCircle.rotation.y -= Math.cos(this.y) * 0.1;
|
this.outerCircle.rotation.y -= Math.cos(this.y) * 0.2;
|
||||||
this.outerCircle.updateInstance('rotation');
|
this.outerCircle.updateInstance('rotation');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue