mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-27 23:25:45 +03:00
HTLV: RadiusFromBounds is broken (#811)
HTLV: RadiusFromBounds fix mistake
This commit is contained in:
parent
722e19df31
commit
2f2be916c2
@ -306,8 +306,7 @@ float RadiusFromBounds(const vec_t *mins, const vec_t *maxs)
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
float fmin = fabs(mins[i]);
|
||||
float fmax = fabs(mins[i]);
|
||||
|
||||
float fmax = fabs(maxs[i]);
|
||||
if (fmin > fmax)
|
||||
corner[i] = fmin;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user