Programming API Reference: EduGraf.Tools

Class public static Normals

Contains functions that help to compute normals and tangents.

Method public static float[] FromNonIndexedVertices()

Return the constructed normals.
  • float[positions

Method public static (float[] float[]) TangentsFromNonIndexedVertices()

Return the constructed tangents.
  • float[positions
  • float[uv

Method public static float[] FromTriangles()

Return the constructed normals.
  • float[positions
  • TIndex[triangles