group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
physics::StaticWorldBroadphase Struct Reference

Immutable world-level BVH over WorldTriMesh bounds. More...

#include <SweptCollision.hpp>

Public Attributes

std::vector< BVHNodenodes
std::vector< uint32_t > meshIndices
std::vector< WorldAABBmeshBounds

Detailed Description

Immutable world-level BVH over WorldTriMesh bounds.

Built once after map/prop collision loading. Query functions return mesh indices whose whole-mesh AABBs overlap a requested world-space AABB, letting KCC casts/probes avoid scanning every mesh before entering each per-mesh BVH.

Member Data Documentation

◆ meshBounds

std::vector<WorldAABB> physics::StaticWorldBroadphase::meshBounds

◆ meshIndices

std::vector<uint32_t> physics::StaticWorldBroadphase::meshIndices

◆ nodes

std::vector<BVHNode> physics::StaticWorldBroadphase::nodes

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