Skip to main content

GridCell Struct

Represents a single cell in the spatial partitioning grid. More...

Declaration

struct helios::engine::modules::physics::collision::systems::GridCollisionDetectionSystem::GridCell { ... }

Public Member Functions Index

voidclear ()

Clears all candidates from this cell. More...

Public Member Attributes Index

std::vector< CollisionCandidate >collisionCandidates

List of collision candidates currently occupying this cell. More...

Description

Represents a single cell in the spatial partitioning grid.

Each cell stores references to all collision candidates whose AABBs overlap this cell's spatial region.

Definition at line 172 of file GridCollisionDetectionSystem.ixx.

Public Member Functions

clear()

void helios::engine::modules::physics::collision::systems::GridCollisionDetectionSystem::GridCell::clear ()
inline

Clears all candidates from this cell.

Definition at line 182 of file GridCollisionDetectionSystem.ixx.

182 void clear() {
183 collisionCandidates.clear();
184 }

Public Member Attributes

collisionCandidates

std::vector<CollisionCandidate> helios::engine::modules::physics::collision::systems::GridCollisionDetectionSystem::GridCell::collisionCandidates

List of collision candidates currently occupying this cell.

Definition at line 177 of file GridCollisionDetectionSystem.ixx.

177 std::vector<CollisionCandidate> collisionCandidates;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.