diff options
| author | Antonis Geralis <[email protected]> | 2022-02-20 21:12:55 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-20 20:12:55 +0100 |
| commit | 68bad6986dec2469b8222c610b6a94be2092bd0e (patch) | |
| tree | fba38e090a83a2b6040d246b2f8c05aa4fddb382 /src/raylib.h | |
| parent | 761669272f57f1dbfc1366ff4450206f549aace9 (diff) | |
| download | raylib-68bad6986dec2469b8222c610b6a94be2092bd0e.tar.gz raylib-68bad6986dec2469b8222c610b6a94be2092bd0e.zip | |
make const (#2348)
* make const
* make const
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 9f4e7caa..b7217bf9 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1426,7 +1426,7 @@ RLAPI void UploadMesh(Mesh *mesh, bool dynamic); RLAPI void UpdateMeshBuffer(Mesh mesh, int index, void *data, int dataSize, int offset); // Update mesh vertex data in GPU for a specific buffer index RLAPI void UnloadMesh(Mesh mesh); // Unload mesh data from CPU and GPU 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 DrawMeshInstanced(Mesh mesh, Material material, const Matrix *transforms, int instances); // Draw multiple mesh instances with material and different transforms RLAPI bool ExportMesh(Mesh mesh, const char *fileName); // Export mesh data to file, returns true on success RLAPI BoundingBox GetMeshBoundingBox(Mesh mesh); // Compute mesh bounding box limits RLAPI void GenMeshTangents(Mesh *mesh); // Compute mesh tangents |
