diff options
| author | raysan5 <[email protected]> | 2021-04-02 15:56:35 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2021-04-02 15:56:35 +0200 |
| commit | c21baf0d92c9a3ad44d46b698fb87d739dd64dc6 (patch) | |
| tree | 2b80d64e8bcf576986433a643afcac9c4f1a2b21 /src/raylib.h | |
| parent | 46650b5fb12ea3e350c0a2160d05b895260e87e3 (diff) | |
| download | raylib-c21baf0d92c9a3ad44d46b698fb87d739dd64dc6.tar.gz raylib-c21baf0d92c9a3ad44d46b698fb87d739dd64dc6.zip | |
ADDED: GenMeshDefault() #1556
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/raylib.h b/src/raylib.h index c6adb2ec..3ad0bd82 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -701,17 +701,6 @@ typedef enum { GAMEPAD_AXIS_RIGHT_TRIGGER = 5 // [1..-1] (pressure-level) } GamepadAxis; -// Mesh vertex attributes -typedef enum { - MESH_VERTEX_POSITION = 1, - MESH_VERTEX_TEXCOORD1 = 2, - MESH_VERTEX_TEXCOORD2 = 4, - MESH_VERTEX_NORMAL = 8, - MESH_VERTEX_TANGENT = 16, - MESH_VERTEX_COLOR = 32, - MESH_VERTEX_INDEX = 64 -} MeshVertexAttributes; - // Material map index typedef enum { MATERIAL_MAP_ALBEDO = 0, // MATERIAL_MAP_DIFFUSE @@ -1398,7 +1387,7 @@ RLAPI void UnloadModelAnimations(ModelAnimation* animations, unsigned int count) RLAPI bool IsModelAnimationValid(Model model, ModelAnimation anim); // Check model animation skeleton match // Mesh generation functions -RLAPI Mesh GenMeshCustom(int vertexCount, int flags); // Generate custom empty mesh (data initialized to 0) +RLAPI Mesh GenMeshDefault(int vertexCount); // Generate an empty mesh with vertex: position, texcoords, normals, colors RLAPI Mesh GenMeshPoly(int sides, float radius); // Generate polygonal mesh RLAPI Mesh GenMeshPlane(float width, float length, int resX, int resZ); // Generate plane mesh (with subdivisions) RLAPI Mesh GenMeshCube(float width, float height, float length); // Generate cuboid mesh |
