summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-10-23 13:59:20 +0200
committerraysan5 <[email protected]>2021-10-23 13:59:20 +0200
commitc4f0e808952b40b4bba3b80466bcd322725b4d7f (patch)
tree5d5c8144ce57b8a9960cf054a73aa846a146d007 /src/raylib.h
parentebee8ba3bb59f20a75a29b493b60e5444344ea71 (diff)
downloadraylib-c4f0e808952b40b4bba3b80466bcd322725b4d7f.tar.gz
raylib-c4f0e808952b40b4bba3b80466bcd322725b4d7f.zip
REVIEWED: Size of bones id supported, max 255 bones per mesh
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index df21c126..cabd58ea 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -331,7 +331,7 @@ typedef struct Mesh {
// Animation vertex data
float *animVertices; // Animated vertex positions (after bones transformations)
float *animNormals; // Animated normals (after bones transformations)
- int *boneIds; // Vertex bone ids, up to 4 bones influence by vertex (skinning)
+ unsigned char *boneIds; // Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning)
float *boneWeights; // Vertex bone weight, up to 4 bones influence by vertex (skinning)
// OpenGL identifiers