avx: replace binary constants with hex

This commit is contained in:
Recep Aslantas
2018-10-12 09:05:42 +03:00
parent aa2b0f2631
commit 20360f2296
3 changed files with 9 additions and 7 deletions

View File

@@ -201,7 +201,7 @@ void
glm_ortho_default(float aspect, mat4 dest) {
if (aspect >= 1.0f) {
glm_ortho(-aspect, aspect, -1.0f, 1.0f, -100.0f, 100.0f, dest);
return;
return;
}
aspect = 1.0f / aspect;
@@ -229,7 +229,7 @@ glm_ortho_default_s(float aspect,
-size - 100.0f,
size + 100.0f,
dest);
return;
return;
}
glm_ortho(-size,