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:
@ -59,7 +59,7 @@ public:
|
||||
class plInterMeshSmooth
|
||||
{
|
||||
protected:
|
||||
hsScalar fMinNormDot;
|
||||
float fMinNormDot;
|
||||
|
||||
void FindEdges(uint32_t maxVtxIdx, uint32_t nTris, uint16_t* idxList, hsTArray<uint16_t>& edgeVerts);
|
||||
void FindEdges(hsTArray<plSpanHandle>& sets, hsTArray<uint16_t>* edgeVerts);
|
||||
@ -71,8 +71,8 @@ protected:
|
||||
public:
|
||||
plInterMeshSmooth() : fMinNormDot(0.25f) {}
|
||||
|
||||
void SetAngle(hsScalar degs);
|
||||
hsScalar GetAngle() const; // returns degrees
|
||||
void SetAngle(float degs);
|
||||
float GetAngle() const; // returns degrees
|
||||
|
||||
void SmoothNormals(hsTArray<plSpanHandle>& sets);
|
||||
};
|
||||
|
Reference in New Issue
Block a user