NULL -> nil

This commit is contained in:
Fire-Head 2020-07-31 21:21:58 +03:00
parent e2ded2d6ce
commit 224fd77641
8 changed files with 204 additions and 204 deletions

View file

@ -484,8 +484,8 @@ RpClump *RpClumpGetBoundingSphere(RpClump *clump, RwSphere *sphere, bool useLTM)
b_cbsUseLTM = useLTM;
if ( clump == NULL || sphere == NULL )
return NULL;
if ( clump == nil || sphere == nil )
return nil;
sphere->radius = 0.0f;
sphere->center.x = 0.0f;
@ -494,7 +494,7 @@ RpClump *RpClumpGetBoundingSphere(RpClump *clump, RwSphere *sphere, bool useLTM)
RwInt32 numAtomics = RpClumpGetNumAtomics(clump);
if ( numAtomics < 1.0f )
return NULL;
return nil;
RpClumpForAllAtomics(clump, cbsCalcMeanBSphereCenterCB, &result);