Changed name 'position' to vector.

This commit is contained in:
Eric-Paul I 2023-03-09 06:40:39 +01:00
parent 3ac01ad142
commit 72e1a8ecd0
1 changed files with 9 additions and 3 deletions

View File

@ -33,22 +33,28 @@
#define FLOOR_TO(a, b) ((a) - ((a) % (b)))
typedef struct {
uint64_t x;
uint64_t y;
} math_vector_2i_T
} math_vector_2i_T;
typedef struct {
uint64_t x;
uint64_t y;
uint64_t z;
} math_vector_3i_T
} math_vector_3i_T;
typedef struct {
uint64_t x;
uint64_t y;
uint64_t z;
uint64_t w;
} math_vector_4i_T
} math_vector_4i_T;
uint64_t pow (uint64_t base, uint64_t exp);
uint64_t abs (int64_t n);