From 1894afa066f7addf569bb04292973e8bf866c6c2 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 26 Apr 2021 00:36:38 +0200 Subject: Update raylib_models.c --- cheatsheet/raylib_models.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3