summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorseanpringle <[email protected]>2020-07-20 19:05:18 +1000
committerGitHub <[email protected]>2020-07-20 11:05:18 +0200
commitcebcdea80f11400e2c1bdb13e2732b4bdb1e1dd7 (patch)
treeee36f4a0ca7fc653f304930ef776c577679729e0 /src/raylib.h
parent6ec847a93fafe22e2611ce86494e1c6f5b331877 (diff)
downloadraylib-cebcdea80f11400e2c1bdb13e2732b4bdb1e1dd7.tar.gz
raylib-cebcdea80f11400e2c1bdb13e2732b4bdb1e1dd7.zip
[wip] MeshNormalsSmooth() (#1317)
* MeshSmoothNormals() by average * wrong comment * spelling * use correct function naming convention
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index d38d53a0..2329305e 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -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)