void CCCameraBase::updateVisibleObjects() { #if defined PROFILEON CCProfiler profile( "CCCameraBase::updateVisibleObjects()" ); #endif // Update visible objects if( visiblesList ) { CCScanVisibleCollideables( frustum, *visiblesList ); } else { CCOctreeScanVisibleCollideables( frustum ); } }
void CCCameraBase::updateVisibleObjects() { #if defined PROFILEON CCProfiler profile( "CCCameraBase::updateVisibleObjects()" ); #endif // Update visible objects if( visiblesList ) { CCScanVisibleCollideables( frustum, *visiblesList, visibleCollideables ); } else { CCOctreeScanVisibleCollideables( frustum, visibleCollideables ); } for( int i=0; i<visibleCollideables.length; ++i ) { sortedVisibleCollideables[i] = i; } }