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:
@ -69,11 +69,11 @@ protected:
|
||||
|
||||
hsBitVector fState;
|
||||
|
||||
hsScalar fHither;
|
||||
hsScalar fYon;
|
||||
float fHither;
|
||||
float fYon;
|
||||
|
||||
hsScalar fFovX;
|
||||
hsScalar fFovY;
|
||||
float fFovX;
|
||||
float fFovY;
|
||||
|
||||
plKey fNodeKey;
|
||||
plPageTreeMgr* fPageMgr;
|
||||
@ -84,7 +84,7 @@ protected:
|
||||
hsMatrix44 fDefaultW2C, fDefaultC2W;
|
||||
|
||||
|
||||
virtual hsBool IEval(double secs, hsScalar del, uint32_t dirty); // called only by owner object's Eval()
|
||||
virtual hsBool IEval(double secs, float del, uint32_t dirty); // called only by owner object's Eval()
|
||||
|
||||
void ISetupRenderRequest();
|
||||
void IDestroyRenderRequest();
|
||||
@ -118,15 +118,15 @@ public:
|
||||
void SetNodeKey(plKey key) { fNodeKey = key; }
|
||||
plKey GetNodeKey() const { return fNodeKey; }
|
||||
|
||||
void SetHither(hsScalar h) { fHither = h; }
|
||||
void SetYon(hsScalar y) { fYon = y; }
|
||||
void SetFovX(hsScalar f) { fFovX = f; }
|
||||
void SetFovY(hsScalar f) { fFovY = f; }
|
||||
void SetHither(float h) { fHither = h; }
|
||||
void SetYon(float y) { fYon = y; }
|
||||
void SetFovX(float f) { fFovX = f; }
|
||||
void SetFovY(float f) { fFovY = f; }
|
||||
|
||||
hsScalar GetHither() const { return fHither; }
|
||||
hsScalar GetYon() const { return fYon; }
|
||||
hsScalar GetFovX() const { return fFovX; }
|
||||
hsScalar GetFovY() const { return fFovY; }
|
||||
float GetHither() const { return fHither; }
|
||||
float GetYon() const { return fYon; }
|
||||
float GetFovX() const { return fFovX; }
|
||||
float GetFovY() const { return fFovY; }
|
||||
|
||||
plPageTreeMgr* GetPageMgr() const { return fPageMgr; }
|
||||
|
||||
|
Reference in New Issue
Block a user