Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 71 bytes modified

beta.r3js.org
-=yb4f310 2018-03-13 13:36:58 +01:00
parent 765dd5b0bf
commit bf60182b5b
1 changed files with 1 additions and 3 deletions

View File

@ -95,8 +95,6 @@ GameLib.CustomCode.prototype.createGameMesh = function(image) {
*/
this.meshEnd = this.createGameMesh(this.imageEnd);
this.meshEnd.useQuaternion = false;
this.meshEnd.rotation.z = Math.PI / 2;
this.meshEnd.updateInstance('rotation');
this.meshPatty = this.createGameMesh(this.imagePatty);
this.meshBodyPatty = this.createGameMesh(this.imageBodyPatty);
@ -126,7 +124,7 @@ GameLib.CustomCode.SnakeBody = function(
this.position = position;
if (GameLib.Utils.UndefinedOrNull(rotation)) {
rotation = 0;
rotation = Math.PI / 2;
}
this.rotation = rotation;