Skip to content

Commit

Permalink
core: fix SaPCollisionManager::empty()
Browse files Browse the repository at this point in the history
  • Loading branch information
Rujia Liu authored and jcarpent committed Sep 25, 2023
1 parent b99559d commit 8b86728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/broadphase/broadphase_SaP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ void SaPCollisionManager::distance(BroadPhaseCollisionManager* other_manager_,
}

//==============================================================================
bool SaPCollisionManager::empty() const { return AABB_arr.size(); }
bool SaPCollisionManager::empty() const { return AABB_arr.empty(); }

//==============================================================================
size_t SaPCollisionManager::size() const { return AABB_arr.size(); }
Expand Down

0 comments on commit 8b86728

Please sign in to comment.