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