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

beta.r3js.org
cybafelo 2019-06-23 09:03:07 +00:00
parent ca0062b203
commit 83f8fc1276
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.1;
this.innerCircle.rotation.y += Math.sin(this.y) * 0.2;
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');
}