Removed unused methods
This commit is contained in:
@@ -422,7 +422,7 @@ public class Bounds {
|
|||||||
this.origin.set(building.getLoc().x, building.getLoc().z);
|
this.origin.set(building.getLoc().x, building.getLoc().z);
|
||||||
|
|
||||||
|
|
||||||
// Magicbane uses half halfExtents
|
// Magicbane uses halfExtents
|
||||||
|
|
||||||
if (meshBounds == null) {
|
if (meshBounds == null) {
|
||||||
halfExtentX = 1;
|
halfExtentX = 1;
|
||||||
@@ -438,8 +438,10 @@ public class Bounds {
|
|||||||
// The rotation is reset after the new aabb is calculated.
|
// The rotation is reset after the new aabb is calculated.
|
||||||
|
|
||||||
this.rotation = building.getRot().y;
|
this.rotation = building.getRot().y;
|
||||||
|
|
||||||
// Caclculate and set the new half halfExtents for the rotated bounding box
|
// Caclculate and set the new half halfExtents for the rotated bounding box
|
||||||
// and reset the rotation to 0 for this bounds.
|
// and reset the rotation to 0 for this bounds.
|
||||||
|
|
||||||
this.halfExtents.set(halfExtentX, (halfExtentY));
|
this.halfExtents.set(halfExtentX, (halfExtentY));
|
||||||
this.rotation = 0;
|
this.rotation = 0;
|
||||||
|
|
||||||
@@ -453,7 +455,6 @@ public class Bounds {
|
|||||||
this.halfExtents.set(blueprint.getExtents());
|
this.halfExtents.set(blueprint.getExtents());
|
||||||
this.flipExtents = Bounds.calculateFlipExtents(this);
|
this.flipExtents = Bounds.calculateFlipExtents(this);
|
||||||
|
|
||||||
|
|
||||||
this.setRegions(building);
|
this.setRegions(building);
|
||||||
this.setColliders(building);
|
this.setColliders(building);
|
||||||
|
|
||||||
|
|||||||
@@ -779,10 +779,6 @@ public class Building extends AbstractWorldObject {
|
|||||||
return this.meshUUID;
|
return this.meshUUID;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void setMeshUUID(int value) {
|
|
||||||
this.meshUUID = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
public final Resists getResists() {
|
public final Resists getResists() {
|
||||||
return this.resists;
|
return this.resists;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user