use hypotf for P_SegLengthFloat
well its hypot but for floats lel
This commit is contained in:
1 parent
9898809f0a
commit
d77d25acf8
1 file changed
+1
-1
+1
-1
@@ -412,7 +412,7 @@ static inline float P_SegLengthFloat(seg_t *seg)
|
||||
dx = FIXED_TO_FLOAT(seg->v2->x - seg->v1->x);
|
||||
dy = FIXED_TO_FLOAT(seg->v2->y - seg->v1->y);
|
||||
|
||||
return (float)hypot(dx, dy);
|
||||
return hypotf(dx, dy);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user