Changed name 'position' to vector.
This commit is contained in:
parent
3ac01ad142
commit
72e1a8ecd0
|
@ -33,22 +33,28 @@
|
||||||
#define FLOOR_TO(a, b) ((a) - ((a) % (b)))
|
#define FLOOR_TO(a, b) ((a) - ((a) % (b)))
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
||||||
uint64_t x;
|
uint64_t x;
|
||||||
uint64_t y;
|
uint64_t y;
|
||||||
} math_vector_2i_T
|
|
||||||
|
} math_vector_2i_T;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
||||||
uint64_t x;
|
uint64_t x;
|
||||||
uint64_t y;
|
uint64_t y;
|
||||||
uint64_t z;
|
uint64_t z;
|
||||||
} math_vector_3i_T
|
|
||||||
|
} math_vector_3i_T;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
||||||
uint64_t x;
|
uint64_t x;
|
||||||
uint64_t y;
|
uint64_t y;
|
||||||
uint64_t z;
|
uint64_t z;
|
||||||
uint64_t w;
|
uint64_t w;
|
||||||
} math_vector_4i_T
|
|
||||||
|
} 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