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

Fix a whole bunch of clang warnings.

This commit is contained in:
Darryl Pogue
2012-12-15 16:46:20 -08:00
parent ca87b47ca8
commit 4221b57baa
11 changed files with 23 additions and 13 deletions

View File

@ -94,6 +94,7 @@ protected:
friend class plDynaDecalMgr;
public:
virtual ~plDynaDecal() { }
virtual bool Age(double t, float ramp, float decay, float life) = 0;
};

View File

@ -291,7 +291,7 @@ void plSpaceTree::HarvestEnabledLeaves(plVolumeIsect* cull, const hsBitVector& c
if( IsEmpty() )
return;
if( fCullFunc = cull )
if((fCullFunc = cull))
IHarvestAndCullEnabledLeaves(fRoot, cache, list);
else
IHarvestEnabledLeaves(fRoot, cache, list);
@ -372,7 +372,7 @@ void plSpaceTree::HarvestLeaves(plVolumeIsect* cull, hsBitVector& list) const
{
if( !IsEmpty() )
{
if( fCullFunc = cull )
if((fCullFunc = cull))
IHarvestAndCullLeaves(fTree[fRoot], scratchTotVec, list);
else
IHarvestLeaves(fTree[fRoot], scratchTotVec, list);