TS3PR/SimIFace/Sims3.SimIFace/BoundingBox
From SimsWiki
< TS3PR | SimIFace | Sims3.SimIFace
Is a struct that makes it possible to save and set the Bounding box if ever possible. This is however a 'helper' struct and most of the code that gets the bounding box or sets it can be found inside the Objects class instead.
Used primarily by:
Code
public struct BoundingBox
{
public Vector3 min;
public Vector3 max;
// Great to use for debugging if you ever need to get the value of the boundary box!
public override string ToString()
{
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.Append("[(");
stringBuilder.Append(min.ToString());
stringBuilder.Append("),(");
stringBuilder.Append(max.ToString());
stringBuilder.Append(")]");
return stringBuilder.ToString();
}
}