1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 12:49:10 +00:00

Obliterate hsBool

This commit is contained in:
2012-07-11 01:28:00 -04:00
parent 5f78b33db4
commit a709e17069
1041 changed files with 7889 additions and 8070 deletions

View File

@ -97,9 +97,9 @@ public:
void SetType(AccessType t) { fType = t; }
AccessType GetType() const { return fType; }
hsBool HasAccessTri() const { return fType == kTri; }
hsBool HasAccessParty() const { return fType == kParty; }
hsBool HasAccessVtx() const { return fType != kUndefined; }
bool HasAccessTri() const { return fType == kTri; }
bool HasAccessParty() const { return fType == kParty; }
bool HasAccessVtx() const { return fType != kUndefined; }
plAccessTriSpan& AccessTri() { hsAssert(fType == kTri, "Cross type access"); return fAccess.fAccessTri; }
plAccessPartySpan& AccessParty() { hsAssert(fType == kParty, "Cross type access"); return fAccess.fAccessParty; }
@ -118,7 +118,7 @@ public:
void SetLocalBounds(const hsBounds3Ext& bnd) { *fWorldBounds = *fLocalBounds = bnd; fWorldBounds->Transform(fLocalToWorld); }
void SetWorldBounds(const hsBounds3Ext& wBnd) { *fWorldBounds = wBnd; }
hsBool HasWaterHeight() const { return nil != fWaterHeight; }
bool HasWaterHeight() const { return nil != fWaterHeight; }
float GetWaterHeight() const { hsAssert(HasWaterHeight(), "Check before asking"); return *fWaterHeight; }
};