InitAABB() private method

private InitAABB ( Axiom.MathLib.AxisAlignedBox box ) : void
box Axiom.MathLib.AxisAlignedBox
return void
Ejemplo n.º 1
0
        /// <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);
        }