1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-22 13:20:05 +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

@ -54,8 +54,8 @@ protected:
hsVector3 fDefaultDir;
plAnimPath* fAnimPath;
hsScalar fAnimWgt;
hsScalar fVelWgt;
float fAnimWgt;
float fVelWgt;
virtual hsVector3 IGetDirection(const plDynaDecalInfo& info, const hsPoint3& pos) const;
@ -78,11 +78,11 @@ public:
void SetDefaultDir(const hsVector3& v);
const hsVector3& GetDefaultDir() const { return fDefaultDir; }
void SetAnimWeight(hsScalar f) { fAnimWgt = f; }
hsScalar GetAnimWeight() const { return fAnimWgt; }
void SetAnimWeight(float f) { fAnimWgt = f; }
float GetAnimWeight() const { return fAnimWgt; }
void SetVelocityWeight(hsScalar f) { fVelWgt = f; }
hsScalar GetVelocityWeight() const { return fVelWgt; }
void SetVelocityWeight(float f) { fVelWgt = f; }
float GetVelocityWeight() const { return fVelWgt; }
};