Skip to main content

GridCell Struct

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

Declaration

struct helios::engine::game::systems::physics::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 143 of file GridCollisionDetectionSystem.ixx.

Public Member Functions

clear()

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

Clears all candidates from this cell.

Definition at line 153 of file GridCollisionDetectionSystem.ixx.

153 void clear() {
154 collisionCandidates.clear();
155 }

Public Member Attributes

collisionCandidates

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

List of collision candidates currently occupying this cell.

Definition at line 148 of file GridCollisionDetectionSystem.ixx.

148 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.