mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-22 13:20:05 +00:00
Convert custom HeadSpin integer types to standard types from stdint.h
This commit is contained in:
@ -52,8 +52,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
class plVertDelta
|
||||
{
|
||||
public:
|
||||
UInt16 fIdx;
|
||||
UInt16 fPadding;
|
||||
uint16_t fIdx;
|
||||
uint16_t fPadding;
|
||||
hsVector3 fPos;
|
||||
hsVector3 fNorm;
|
||||
};
|
||||
@ -66,7 +66,7 @@ public:
|
||||
|
||||
hsTArray<plVertDelta> fDeltas;
|
||||
|
||||
UInt16 fNumUVWChans;
|
||||
uint16_t fNumUVWChans;
|
||||
hsPoint3* fUVWs; // Length is fUVWChans*fDeltas.GetCount() (*sizeof(hsPoint3) in bytes).
|
||||
};
|
||||
|
||||
@ -94,7 +94,7 @@ public:
|
||||
void ComputeDeltas(const hsTArray<plAccessSpan>& base, const hsTArray<plAccessSpan>& moved);
|
||||
void ComputeDeltas(const hsTArray<plGeometrySpan*>& base, const hsTArray<plGeometrySpan*>& moved, const hsMatrix44& d2b, const hsMatrix44& d2bTInv);
|
||||
|
||||
UInt32 GetNumSpans() const { return fSpans.GetCount(); }
|
||||
uint32_t GetNumSpans() const { return fSpans.GetCount(); }
|
||||
void SetNumSpans(int n);
|
||||
void SetDeltas(int iSpan, const hsTArray<plVertDelta>& deltas, int numUVWChans, const hsPoint3* uvws); // len uvws is deltas.GetCount() * numUVWChans
|
||||
|
||||
|
Reference in New Issue
Block a user