mirror of
https://github.com/recp/cglm.git
synced 2026-11-17 10:17:13 -06:00
vec2: add new function glm_vec2_make
Just a copy of glm_vec2, but with the word _make suffixed at the end. Function takes in a float array array must be at least of size 2 and converts it into a 2D vector. Signed-off-by: Vincent Davis Jr <[email protected]>
This commit is contained in:
1 parent
49dd24eaf2
commit
b3de85a14e
7 files changed
+72
No files matched your search
@@ -235,3 +235,9 @@ void
|
||||
glmc_vec2_complex_conjugate(vec2 a, vec2 dest) {
|
||||
glm_vec2_complex_conjugate(a, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_vec2_make(float * __restrict src, vec2 dest) {
|
||||
glm_vec2_make(src, dest);
|
||||
}
|
||||
Reference in new issue
Block a user