private InitAABB ( Axiom.MathLib.AxisAlignedBox box ) : void | ||
box | Axiom.MathLib.AxisAlignedBox | |
리턴 | void |
public void InitAABB( AxisAlignedBox box )
{
// store the bounding box locally
this.BoundingBox = box;
}
/// <summary> /// Adds this nodes bounding box (wireframe) to the RenderQueue. /// </summary> /// <param name="queue"></param> public void AddBoundingBoxToQueue(RenderQueue queue) { if (wireBox == null) { wireBox = new WireBoundingBox(); } // add the wire bounding box to the render queue wireBox.InitAABB(worldAABB); queue.AddRenderable(wireBox); }