From bddcfedeadf8ebbb0f2de9d7c3cce53ff4990ce5 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 12 Dec 2020 12:13:48 +1100 Subject: [PATCH] docs: fix simple typo, asume -> assume There is a small typo in include/cglm/affine.h. Should read `assume` rather than `asume`. --- include/cglm/affine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cglm/affine.h b/include/cglm/affine.h index 0c71218..15f2853 100644 --- a/include/cglm/affine.h +++ b/include/cglm/affine.h @@ -455,7 +455,7 @@ glm_decompose_rs(mat4 m, mat4 r, vec3 s) { glm_vec4_scale(r[1], 1.0f/s[1], r[1]); glm_vec4_scale(r[2], 1.0f/s[2], r[2]); - /* Note from Apple Open Source (asume that the matrix is orthonormal): + /* Note from Apple Open Source (assume that the matrix is orthonormal): check for a coordinate system flip. If the determinant is -1, then negate the matrix and the scaling factors. */ glm_vec3_cross(m[0], m[1], v);