use hypotf for P_SegLengthFloat

well its hypot but for floats lel
This commit is contained in:
Alug committed 2025-07-29 19:21:34 +02:00
1 parent 9898809f0a
commit d77d25acf8
1 file changed
+1 -1
+1 -1
View File
@@ -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