Changed position_T to some vectors
This commit is contained in:
parent
73796b2686
commit
ddcb64daea
|
@ -35,7 +35,20 @@
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint64_t x;
|
uint64_t x;
|
||||||
uint64_t y;
|
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 pow (uint64_t base, uint64_t exp);
|
||||||
uint64_t abs (int64_t n);
|
uint64_t abs (int64_t n);
|
||||||
|
|
Loading…
Reference in New Issue