textuer
This commit is contained in:
@@ -24,6 +24,10 @@ static inline com_vec_t com_vec_from(com_fix_t x, com_fix_t y, com_fix_t z) {
|
||||
return (com_vec_t){.s = {.x = x, .y = y, .z = z}};
|
||||
}
|
||||
|
||||
static inline com_vec_t com_vec_scalar(com_fix_t s) {
|
||||
return (com_vec_t){.s = {.x = s, .y = s, .z = s}};
|
||||
}
|
||||
|
||||
static inline com_vec_t com_vec_identity(void) {
|
||||
return (com_vec_t){.s = {.x = COM_FIX_FRACUNIT,
|
||||
.y = COM_FIX_FRACUNIT,
|
||||
|
||||
Reference in New Issue
Block a user