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) {
|
R3.CustomCode.prototype.move = function(data) {
|
||||||
|
|
||||||
var x = data.x;
|
var x = data.x || 0;
|
||||||
var y = data.y;
|
var y = data.y || 0;
|
||||||
|
|
||||||
x *= 0.0025;
|
x *= 0.0025;
|
||||||
y *= 0.0075;
|
y *= 0.0075;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
if (data.entity === this.parentEntity) {
|
if (data.entity === this.parentEntity) {
|
||||||
console.log('AR Football 2 Entity Loaded');
|
console.log('AR Football 3 Entity Loaded');
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue