Example #1
0
        public void Draw()
        {
            m_hull.Draw();

            if (IsEditable)
            {
                DrawHandles();
            }
        }
        private void UpdateDrawings()
        {
            if (m_SideDisplay != null)
            {
                m_FrontDisplay.RotateTo(0, 0, 180);
                m_FrontDisplay.Scale();
                m_FrontDisplay.Draw();

                m_SideDisplay.RotateTo(0, 90, 180);
                m_SideDisplay.Scale();
                m_SideDisplay.Draw();

                m_TopDisplay.RotateTo(0, 90, 90);
                m_TopDisplay.Scale();
                m_TopDisplay.Draw();

                m_PerspectiveDisplay.RotateTo(m_xAngle, m_yAngle, m_zAngle);
                m_PerspectiveDisplay.Scale();
                m_hullEditor.Draw();
            }
        }