mirror of
https://github.com/recp/cglm.git
synced 2026-11-18 10:17:13 -06:00
vec-ext: fix vec4 min
This commit is contained in:
1 parent
d6cae07602
commit
86c585b9e5
1 file changed
+1
-1
@@ -148,7 +148,7 @@ float
|
||||
glm_vec4_min(vec4 v) {
|
||||
float min;
|
||||
|
||||
min = glm_vec_max(v);
|
||||
min = glm_vec_min(v);
|
||||
if (v[3] < min)
|
||||
min = v[3];
|
||||
|
||||
|
||||
Reference in new issue
Block a user