Exemplo n.º 1
0
        public override void DrawShadow(Light a_light)
        {
            switch (m_drawingMode)
            {
            case e_MaterialDrawingMode.Triangles:
            {
                GraphicsCommand.DrawTriangles(m_indices);

                break;
            }

            default:
            {
                GraphicsCommand.Draw(m_indices);

                break;
            }
            }
        }
Exemplo n.º 2
0
        public override void Draw(Camera a_camera)
        {
            switch (m_drawingMode)
            {
            case e_MaterialDrawingMode.Triangles:
            {
                GraphicsCommand.DrawTriangles(m_indices);

                break;
            }

            default:
            {
                GraphicsCommand.Draw(m_indices);

                break;
            }
            }
        }