mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
optimize operations, fix max sign
This commit is contained in:
@@ -72,7 +72,7 @@ glm_min(float a, float b) {
|
||||
CGLM_INLINE
|
||||
float
|
||||
glm_max(float a, float b) {
|
||||
if (a < b)
|
||||
if (a > b)
|
||||
return a;
|
||||
return b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user