Skip to content

Commit

Permalink
Update mat2x3.h
Browse files Browse the repository at this point in the history
  • Loading branch information
recp committed Mar 31, 2024
1 parent 8396bbf commit e3ed983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cglm/mat2x3.h
Expand Up @@ -122,7 +122,7 @@ glm_mat2x3_mul(mat2x3 m1, mat3x2 m2, mat3 dest) {
CGLM_INLINE
void
glm_mat2x3_mulv(mat2x3 m, vec2 v, vec3 dest) {
float v0 = v[0]; v1 = v[1];
float v0 = v[0], v1 = v[1];

dest[0] = m[0][0] * v0 + m[1][0] * v1;
dest[1] = m[0][1] * v0 + m[1][1] * v1;
Expand Down

0 comments on commit e3ed983

Please sign in to comment.