Add fixed point vector type

This commit is contained in:
Aetias
2024-01-07 12:29:09 +01:00
parent 1e33a22c9e
commit 7e0073fd41
+10
View File
@@ -5,4 +5,14 @@
extern "C" u32 FastDivide(u32 a, u32 b);
// 20.12 fixed point number
typedef u32 p32;
typedef struct {
/* 0 */ p32 x;
/* 4 */ p32 y;
/* 8 */ p32 z;
/* c */
} Vec3p;
#endif