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:
@ -77,8 +77,8 @@ public:
|
||||
protected:
|
||||
uint32_t fFlags;
|
||||
|
||||
hsScalar fMinNormDot;
|
||||
hsScalar fDistTolSq;
|
||||
float fMinNormDot;
|
||||
float fDistTolSq;
|
||||
|
||||
plAccessGeometry fAccGeom;
|
||||
|
||||
@ -93,11 +93,11 @@ protected:
|
||||
public:
|
||||
plAvMeshSmooth() : fFlags(kSmoothNorm), fMinNormDot(0.25f), fDistTolSq(1.e-4f), fAccGeom() {}
|
||||
|
||||
void SetAngle(hsScalar degs);
|
||||
hsScalar GetAngle() const; // returns degrees
|
||||
void SetAngle(float degs);
|
||||
float GetAngle() const; // returns degrees
|
||||
|
||||
void SetDistTol(hsScalar dist);
|
||||
hsScalar GetDistTol() const;
|
||||
void SetDistTol(float dist);
|
||||
float GetDistTol() const;
|
||||
|
||||
void Smooth(hsTArray<XfmSpan>& srcSpans, hsTArray<XfmSpan>& dstSpans);
|
||||
|
||||
|
Reference in New Issue
Block a user