/// <summary> /// Draws this <see cref="GeometricPrimitive" />. /// </summary> /// <param name="graphicsDevice">The graphics device.</param> public void Draw(GraphicsDevice graphicsDevice) { // Setup the Vertex Buffer graphicsDevice.SetVertexArrayObject(vertexArrayObject); // Finally Draw this mesh graphicsDevice.DrawIndexed(PrimitiveType.TriangleList, IndexBuffer.ElementCount); }