Load bones, bone indices and weights into model

This commit is contained in:
Camden Dixie O'Brien committed 2025-10-01 13:59:19 +01:00
1 parent 955f606fb5
commit 2e1a604d7b
5 files changed
+145 -74

No files matched your search

+6
View File
@@ -1,6 +1,8 @@
#ifndef LINEAR_ALG_H
#define LINEAR_ALG_H
#include <stdint.h>
#define PI 3.14159265358979323846264
typedef struct {
@@ -15,6 +17,10 @@ typedef struct {
vec4_t x, y, z, w;
} mat4_t;
typedef struct {
uint16_t x, y, z, w;
} u16_vec4_t;
// clang-format off
#define MAT4_ID \
(mat4_t) { \