Update: entity_loaded (2c1eswtjvb.js) 2 bytes modified
parent
0211060295
commit
d99b21bb83
|
@ -23,7 +23,7 @@ R3.CustomCode.prototype.render = function(delta) {
|
|||
|
||||
this.innerCircle.rotation.z += Math.cos(this.totalTime) * 0.2;
|
||||
if (this.innerCircle.rotation.z >= Math.PI * 2) {
|
||||
this.innerCircle.rotation -= Math.PI * 2;
|
||||
this.innerCircle.rotation.z -= Math.PI * 2;
|
||||
}
|
||||
this.innerCircle.updateInstance('rotation');
|
||||
|
||||
|
|
Loading…
Reference in New Issue