static Circle()
{
contourIndices = new short[4][];
contourIndices[3] = new short[segments + 1];
for (int i = 0; i < segments; i++)
contourIndices[3][i] = (short)i;
// Close the shape
contourIndices[3][segments] = 0;
// LOD Shapes
contourIndices[0] = contourIndices[1] = new short[] { 0, 2, 4, 6, 0 };
contourIndices[2] = contourIndices[3];
}
Circle::Circle ( string name, Material material, |
|
Circle::Circle ( string name, string shape, Material material, |