Add box collisions and add unload for modelanimations for bone socket
This commit is contained in:
parent
a1d02a5ec8
commit
1e257d1738
3 changed files with 125 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ pub fn main() anyerror!void {
|
|||
var animCurrentFrame: i32 = 0;
|
||||
const modelAnimations = try rl.loadModelAnimations("examples/models/resources/models/gltf/greenman.glb");
|
||||
const animsCount = modelAnimations.len;
|
||||
defer rl.unloadModelAnimations(modelAnimations);
|
||||
|
||||
// indices of bones for sockets
|
||||
var boneSocketIndex: [BONE_SOCKETS]usize = undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue