Example #1
0
        public override void RenderWire()
        {
            OBB obb = new OBB(GetAABB(), _rotation);

            if (_wireRenderDesc.WireMode == WireRenderMode.Wire)
            {
                GraphicsEx.DrawWireBox(obb);
            }
            else
            {
                GraphicsEx.DrawWireCornerBox(obb, _wireRenderDesc.CornerLinePercentage);
            }
        }
 public override void RenderBorder(Camera camera)
 {
     GraphicsEx.DrawQuadBorder2D(_center, _size, _rotationDegrees, camera);
 }