mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 12:32:40 +00:00
vec3: add new function glm_vec3_make
Function takes in a float array. Array must be at least of size 3 and converts it into a 3D vector. Signed-off-by: Vincent Davis Jr <vince@underview.tech>
This commit is contained in:
@@ -417,3 +417,9 @@ void
|
||||
glmc_vec3_sqrt(vec3 v, vec3 dest) {
|
||||
glm_vec3_sqrt(v, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_vec3_make(float * __restrict src, vec3 dest) {
|
||||
glm_vec3_make(src, dest);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user