1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Eliminate hsScalar and hsFixed

Modern CPUs support floats just fine... hsFixed was crazy.
This commit is contained in:
2012-01-21 02:03:37 -05:00
parent 5027b5a4ac
commit e020651e4b
584 changed files with 5401 additions and 6399 deletions

View File

@ -349,8 +349,8 @@ int compare( const void* arg1, const void *arg2 )
{
plNetTransportMember** m1 = (plNetTransportMember**)arg1;
plNetTransportMember** m2 = (plNetTransportMember**)arg2;
float d1=m1 ? (*m1)->GetDistSq() : hsScalarMax;
float d2=m2 ? (*m2)->GetDistSq() : hsScalarMax;
float d1=m1 ? (*m1)->GetDistSq() : FLT_MAX;
float d2=m2 ? (*m2)->GetDistSq() : FLT_MAX;
return (int)(d1-d2);
}