diff options
| author | Ray <[email protected]> | 2021-04-26 00:36:38 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-04-26 00:36:38 +0200 |
| commit | 1894afa066f7addf569bb04292973e8bf866c6c2 (patch) | |
| tree | 40e94731e7ef06f491bee74569381cffaa17e9f2 /cheatsheet | |
| parent | ca2d181c90ec8d108dbc6e929a7e06bbe319987e (diff) | |
| download | raylib.com-1894afa066f7addf569bb04292973e8bf866c6c2.tar.gz raylib.com-1894afa066f7addf569bb04292973e8bf866c6c2.zip | |
Update raylib_models.c
Diffstat (limited to 'cheatsheet')
| -rw-r--r-- | cheatsheet/raylib_models.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cheatsheet/raylib_models.c b/cheatsheet/raylib_models.c index 8ceca51..f4721be 100644 --- a/cheatsheet/raylib_models.c +++ b/cheatsheet/raylib_models.c @@ -27,6 +27,7 @@ // Mesh loading/unloading functions void UploadMesh(Mesh *mesh, bool dynamic); // Upload vertex data into GPU and provided VAO/VBO ids + void UpdateMeshBuffer(Mesh mesh, int index, void *data, int dataSize, int offset); // Update mesh vertex data in GPU for a specific buffer index void DrawMesh(Mesh mesh, Material material, Matrix transform); // Draw a 3d mesh with material and transform void DrawMeshInstanced(Mesh mesh, Material material, Matrix *transforms, int instances); // Draw multiple mesh instances with material and different transforms void UnloadMesh(Mesh mesh); // Unload mesh data from CPU and GPU @@ -47,7 +48,6 @@ bool IsModelAnimationValid(Model model, ModelAnimation anim); // Check model animation skeleton match // Mesh generation functions - Mesh GenMeshDefault(int vertexCount); // Generate an empty mesh with vertex: position, texcoords, normals, colors Mesh GenMeshPoly(int sides, float radius); // Generate polygonal mesh Mesh GenMeshPlane(float width, float length, int resX, int resZ); // Generate plane mesh (with subdivisions) Mesh GenMeshCube(float width, float height, float length); // Generate cuboid mesh |
