1
0
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:
2012-01-21 02:03:37 -05:00
parent 5027b5a4ac
commit e020651e4b
584 changed files with 5401 additions and 6399 deletions

View File

@ -48,9 +48,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
class plPrintShape : public plObjInterface
{
protected:
hsScalar fWidth;
hsScalar fLength;
hsScalar fHeight;
float fWidth;
float fLength;
float fHeight;
public:
plPrintShape();
virtual ~plPrintShape();
@ -65,13 +65,13 @@ public:
virtual void Read(hsStream* stream, hsResMgr* mgr);
virtual void Write(hsStream* stream, hsResMgr* mgr);
hsScalar GetWidth() const { return fWidth; }
hsScalar GetLength() const { return fLength; }
hsScalar GetHeight() const { return fHeight; }
float GetWidth() const { return fWidth; }
float GetLength() const { return fLength; }
float GetHeight() const { return fHeight; }
void SetWidth(hsScalar f) { fWidth = f; }
void SetLength(hsScalar f) { fLength = f; }
void SetHeight(hsScalar f) { fHeight = f; }
void SetWidth(float f) { fWidth = f; }
void SetLength(float f) { fLength = f; }
void SetHeight(float f) { fHeight = f; }
};
#endif // plPrintShape_inc