i knew there was a reason i didn't have these overloads originally...

This commit is contained in:
Gered 2013-08-25 16:38:06 -04:00
parent 2c027e0ced
commit 5a8217f9e3
3 changed files with 1 additions and 13 deletions

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)