summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-26 00:12:29 +0100
committerRay <[email protected]>2021-03-26 00:12:29 +0100
commitf9bab14fdb61ec7b6d407a4d3f742414c2842d50 (patch)
treebaabae88bcd789e87d7d7e417179e6e44eb58a08 /src/raylib.h
parentc6828070dccb05d5d568d5f796e4a4760b45b8c5 (diff)
downloadraylib-f9bab14fdb61ec7b6d407a4d3f742414c2842d50.tar.gz
raylib-f9bab14fdb61ec7b6d407a4d3f742414c2842d50.zip
REVIEWED: DrawMeshInstanced()
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 3ca9819a..472e1751 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1377,8 +1377,8 @@ RLAPI void UnloadModelKeepMeshes(Model model);
// Mesh loading/unloading functions
RLAPI void UploadMesh(Mesh *mesh, bool dynamic); // Upload vertex data into GPU and provided VAO/VBO ids
-RLAPI void DrawMesh(Mesh mesh, Material material, Matrix transform); // Draw a 3d mesh with material and transform
-RLAPI void DrawMeshInstanced(Mesh mesh, Material material, Matrix *transforms, int count); // Draw a 3d mesh with material and transform
+RLAPI void DrawMesh(Mesh mesh, Material material, Matrix transform); // Draw a 3d mesh with material and transform
+RLAPI void DrawMeshInstanced(Mesh mesh, Material material, Matrix *transforms, int instances); // Draw multiple mesh instances with material and different transforms
RLAPI void UnloadMesh(Mesh mesh); // Unload mesh data from CPU and GPU
RLAPI bool ExportMesh(Mesh mesh, const char *fileName); // Export mesh data to file, returns true on success