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:
@ -80,7 +80,7 @@ private:
|
||||
hsBounds3Ext* fLocalBounds;
|
||||
hsBounds3Ext* fWorldBounds;
|
||||
|
||||
hsScalar* fWaterHeight;
|
||||
float* fWaterHeight;
|
||||
|
||||
hsGMaterial* fMaterial;
|
||||
|
||||
@ -119,7 +119,7 @@ public:
|
||||
void SetWorldBounds(const hsBounds3Ext& wBnd) { *fWorldBounds = wBnd; }
|
||||
|
||||
hsBool HasWaterHeight() const { return nil != fWaterHeight; }
|
||||
hsScalar GetWaterHeight() const { hsAssert(HasWaterHeight(), "Check before asking"); return *fWaterHeight; }
|
||||
float GetWaterHeight() const { hsAssert(HasWaterHeight(), "Check before asking"); return *fWaterHeight; }
|
||||
};
|
||||
|
||||
inline plAccessVtxSpan& plAccessSpan::AccessVtx()
|
||||
|
Reference in New Issue
Block a user