Changed position_T to some vectors

This commit is contained in:
Eric-Paul I 2023-03-09 03:34:45 +01:00
parent 73796b2686
commit ddcb64daea
1 changed files with 14 additions and 1 deletions

View File

@ -35,7 +35,20 @@
typedef struct {
uint64_t x;
uint64_t y;
} position_T;
} math_vector_2i_T
typedef struct {
uint64_t x;
uint64_t y;
uint64_t z;
} math_vector_3i_T
typedef struct {
uint64_t x;
uint64_t y;
uint64_t z;
uint64_t w;
} math_vector_4i_T
uint64_t pow (uint64_t base, uint64_t exp);
uint64_t abs (int64_t n);