]> O.S.I.I.S - jp/vkvg.git/commitdiff
replace isnanf by isnan in vectors.h
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 18 Feb 2022 22:00:02 +0000 (23:00 +0100)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 18 Feb 2022 22:00:14 +0000 (23:00 +0100)
src/vectors.h

index 25550e4d1cf105a2c10a506d8608600c4f1960c2..a8a815f47f36dd656d1fb75eb2ab1024625b76da 100644 (file)
@@ -177,7 +177,7 @@ vkvg_inline void vec2_inv (vec2* v){
 }
 // test if one component of float vector is nan
 vkvg_inline    bool vec2_isnan (vec2 v){
-       return (bool)(isnanf (v.x) || isnanf (v.y));
+       return (bool)(isnan (v.x) || isnan (v.y));
 }
 // test if one component of double vector is nan
 vkvg_inline float vec2_dot (vec2 a, vec2 b) {