SolidKit3D.Drawing.ShapeRenderer.DrawFlatShadedShape
From Solid Graphics Wiki
| ||||||||
The DrawFlatShadedShape function draws a shape using flat shading. The function uses OpenGL functions for drawing the shape, so the shape is drawn into active/current OpenGL rendering context window.
public static void DrawFlatShadedShape( Shape shape, VectorList normals );
Parameters
| shape | The shape to render. |
| normals | Shape triangles normal vectors. The vectors can be calculated using the Shape.CalculateNormals method. Number of normal vectors in the list must be the same as number of triangles in the shape. |
See Also
