mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
rename _dup (duplicate) to _copy
I think _copy is better and COMMON name for duplicating/copying vector, matrices
This commit is contained in:
@@ -64,7 +64,7 @@ glm_euler_angles(mat4 m, vec3 dest) {
|
||||
path = (fabsf(a[0][0]) + fabsf(a[0][1]) + fabsf(a[0][2])) >=
|
||||
(fabsf(a[1][0]) + fabsf(a[1][1]) + fabsf(a[1][2]));
|
||||
|
||||
glm_vec_dup(a[path], dest);
|
||||
glm_vec_copy(a[path], dest);
|
||||
} else {
|
||||
dest[0] = atan2f(m[1][0], m[2][0]);
|
||||
dest[1] = CGLM_PI_2;
|
||||
|
||||
Reference in New Issue
Block a user