i knew there was a reason i didn't have these overloads originally...
This commit is contained in:
parent
2c027e0ced
commit
5a8217f9e3
|
@ -24,12 +24,6 @@ namespace Blarg.GameFramework
|
|||
get { return Math.Abs(Max.Z - Min.Z); }
|
||||
}
|
||||
|
||||
public BoundingBox(BoundingBox other)
|
||||
{
|
||||
Min = other.Min;
|
||||
Max = other.Max;
|
||||
}
|
||||
|
||||
public BoundingBox(Vector3 min, Vector3 max)
|
||||
: this(ref min, ref max)
|
||||
{
|
||||
|
|
|
@ -9,12 +9,6 @@ namespace Blarg.GameFramework
|
|||
public Vector3 Center;
|
||||
public float Radius;
|
||||
|
||||
public BoundingSphere(BoundingSphere other)
|
||||
{
|
||||
Center = other.Center;
|
||||
Radius = other.Radius;
|
||||
}
|
||||
|
||||
public BoundingSphere(Vector3 center, float radius)
|
||||
: this(ref center, radius)
|
||||
{
|
||||
|
|
|
@ -107,7 +107,7 @@ namespace Blarg.GameFramework.TileMap.Meshes
|
|||
|
||||
SetupFaceVertices(numVertices, topTexture, bottomTexture, frontTexture, backTexture, leftTexture, rightTexture);
|
||||
SetupCollisionVertices();
|
||||
_bounds = new BoundingBox(UNIT_BOUNDS);
|
||||
_bounds = UNIT_BOUNDS;
|
||||
}
|
||||
|
||||
public bool HasFace(byte side)
|
||||
|
|
Reference in a new issue