Summary
Doesn't take into account vertices that are shared by multiple triangles.
Only the last triangle to include each vertex will determine its normal.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- MeshUtilities
Syntax
public static void CalculateNormals(MeshBuilder builder, int subMesh, int minIndex, int maxIndex)
Parameters
| Name | Type | Description |
|---|---|---|
| builder | MeshBuilder | |
| subMesh | int | |
| minIndex | int | |
| maxIndex | int |
Return Value
| Type | Description |
|---|---|
| void |