mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Eliminate hsScalar and hsFixed
Modern CPUs support floats just fine... hsFixed was crazy.
This commit is contained in:
@ -65,7 +65,7 @@ class plSpaceHit
|
||||
{
|
||||
public:
|
||||
int fIdx;
|
||||
hsScalar fClosest;
|
||||
float fClosest;
|
||||
};
|
||||
|
||||
class plVisLOSMgr
|
||||
@ -74,13 +74,13 @@ protected:
|
||||
plPageTreeMgr* fPageMgr;
|
||||
plPipeline* fPipe;
|
||||
|
||||
hsScalar fMaxDist;
|
||||
float fMaxDist;
|
||||
|
||||
hsPoint3 fCurrFrom;
|
||||
hsPoint3 fCurrTarg;
|
||||
|
||||
hsBool ISetup(const hsPoint3& pStart, const hsPoint3& pEnd);
|
||||
hsBool ICheckBound(const hsBounds3Ext& bnd, hsScalar& closest);
|
||||
hsBool ICheckBound(const hsBounds3Ext& bnd, float& closest);
|
||||
hsBool ICheckSpaceTreeRecur(plSpaceTree* space, int which, hsTArray<plSpaceHit>& hits);
|
||||
hsBool ICheckSpaceTree(plSpaceTree* space, hsTArray<plSpaceHit>& hits);
|
||||
hsBool ICheckSceneNode(plSceneNode* node, plVisHit& hit);
|
||||
|
Reference in New Issue
Block a user