coding style

This commit is contained in:
Recep Aslantas
2024-03-31 23:06:30 +03:00
parent 929963c6eb
commit 8396bbf0b3
3 changed files with 3 additions and 9 deletions

View File

@@ -118,9 +118,7 @@ glm_mat3x2_mul(mat3x2 m1, mat2x3 m2, mat2 dest) {
CGLM_INLINE
void
glm_mat3x2_mulv(mat3x2 m, vec3 v, vec2 dest) {
float v0, v1, v2;
v0 = v[0], v1 = v[1], v2 = v[2];
float v0 = v[0], v1 = v[1], v2 = v[2];
dest[0] = m[0][0] * v0 + m[1][0] * v1 + m[2][0] * v2;
dest[1] = m[0][1] * v0 + m[1][1] * v1 + m[2][1] * v2;