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:
@ -194,7 +194,7 @@ plOccNode* plOccTree::IAddPolyRecur(plOccNode* node, plOccPoly* poly)
|
||||
return node;
|
||||
}
|
||||
|
||||
hsBool plOccTree::BoundsVisible(const hsBounds3Ext& bnd) const
|
||||
bool plOccTree::BoundsVisible(const hsBounds3Ext& bnd) const
|
||||
{
|
||||
if( !fRoot )
|
||||
return true;
|
||||
@ -203,21 +203,21 @@ hsBool plOccTree::BoundsVisible(const hsBounds3Ext& bnd) const
|
||||
}
|
||||
|
||||
|
||||
hsBool plOccNode::IInChildBoundsVisible(const hsBounds3Ext& bnd) const
|
||||
bool plOccNode::IInChildBoundsVisible(const hsBounds3Ext& bnd) const
|
||||
{
|
||||
return fInChild
|
||||
? fInChild->IBoundsVisible(bnd)
|
||||
: false;
|
||||
}
|
||||
|
||||
hsBool plOccNode::IOutChildBoundsVisible(const hsBounds3Ext& bnd) const
|
||||
bool plOccNode::IOutChildBoundsVisible(const hsBounds3Ext& bnd) const
|
||||
{
|
||||
return fOutChild
|
||||
? fOutChild->IBoundsVisible(bnd)
|
||||
: true;
|
||||
}
|
||||
|
||||
hsBool plOccNode::IBoundsVisible(const hsBounds3Ext& bnd) const
|
||||
bool plOccNode::IBoundsVisible(const hsBounds3Ext& bnd) const
|
||||
{
|
||||
hsPoint2 depth;
|
||||
bnd.TestPlane(fPlane.fNormal, depth);
|
||||
|
Reference in New Issue
Block a user