mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
avx: replace binary constants with hex
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user