[wip] MeshNormalsSmooth() (#1317)

* MeshSmoothNormals() by average

* wrong comment

* spelling

* use correct function naming convention
This commit is contained in:
seanpringle
2020-07-20 19:05:18 +10:00
committed by GitHub
parent 6ec847a93f
commit cebcdea80f
2 changed files with 69 additions and 0 deletions

View File

@@ -1325,6 +1325,7 @@ RLAPI Mesh GenMeshCubicmap(Image cubicmap, Vector3 cubeSize);
RLAPI BoundingBox MeshBoundingBox(Mesh mesh); // Compute mesh bounding box limits
RLAPI void MeshTangents(Mesh *mesh); // Compute mesh tangents
RLAPI void MeshBinormals(Mesh *mesh); // Compute mesh binormals
RLAPI void MeshNormalsSmooth(Mesh *mesh); // Smooth (average) vertex normals
// Model drawing functions
RLAPI void DrawModel(Model model, Vector3 position, float scale, Color tint); // Draw a model (with texture if set)