mirror of
https://github.com/zeldaret/ph
synced 2026-05-23 15:01:37 -04:00
Add fixed point vector type
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user