mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
typo
This commit is contained in:
parent
20e50441ea
commit
a99534c529
1 changed files with 6 additions and 6 deletions
|
|
@ -1212,12 +1212,12 @@ class MarbleWorld extends Scheduler {
|
||||||
// marbleHitbox.offset(end.x, end.y, end.z);
|
// marbleHitbox.offset(end.x, end.y, end.z);
|
||||||
|
|
||||||
var marbleAABB = new Bounds();
|
var marbleAABB = new Bounds();
|
||||||
marbleAABB.xMin = end.x - this._radius;
|
marbleAABB.xMin = end.x - marble._radius;
|
||||||
marbleAABB.xMax = end.x + this._radius;
|
marbleAABB.xMax = end.x + marble._radius;
|
||||||
marbleAABB.yMin = end.y - this._radius;
|
marbleAABB.yMin = end.y - marble._radius;
|
||||||
marbleAABB.yMax = end.y + this._radius;
|
marbleAABB.yMax = end.y + marble._radius;
|
||||||
marbleAABB.zMin = end.z - this._radius;
|
marbleAABB.zMin = end.z - marble._radius;
|
||||||
marbleAABB.zMax = end.z + this._radius;
|
marbleAABB.zMax = end.z + marble._radius;
|
||||||
|
|
||||||
// spherebounds.addSpherePos(gjkCapsule.p2.x, gjkCapsule.p2.y, gjkCapsule.p2.z, gjkCapsule.radius);
|
// spherebounds.addSpherePos(gjkCapsule.p2.x, gjkCapsule.p2.y, gjkCapsule.p2.z, gjkCapsule.radius);
|
||||||
var contacts = this.collisionWorld.boundingSearch(box);
|
var contacts = this.collisionWorld.boundingSearch(box);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue