Load bones, bone indices and weights into model
This commit is contained in:
1 parent
955f606fb5
commit
2e1a604d7b
5 files changed
+145
-74
No files matched your search
@@ -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) { \
|
||||
|
||||
Reference in new issue
Block a user