merge conflicts
commit
5345ae998f
|
@ -0,0 +1,8 @@
|
|||
|
||||
if (!this.entityLoaded) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.entityLoaded.render(data.delta);
|
||||
|
||||
//@ sourceURL=beforeRender.js
|
|
@ -11,4 +11,4 @@ this.entityLoaded.move(
|
|||
}
|
||||
);
|
||||
|
||||
//@ sourceURL=mouseMoveARFootball2.js
|
||||
//@ sourceURL=mouseMoveARFootball3.js
|
|
@ -222,9 +222,8 @@ R3.CustomCode.prototype.render = function(delta) {
|
|||
|
||||
R3.CustomCode.prototype.move = function(data) {
|
||||
|
||||
var x = data.x;
|
||||
var y = data.y;
|
||||
|
||||
var x = data.x || 0;
|
||||
var y = data.y || 0;
|
||||
x *= 0.0025;
|
||||
y *= 0.0075;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
if (data.entity === this.parentEntity) {
|
||||
console.log('AR Football 2 Entity Loaded');
|
||||
console.log('AR Football 3 Entity Loaded');
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue