Toast Engine
Loading...
Searching...
No Matches
collision.hpp File Reference

Canonical collision-pair records shared by broad and narrow phases. More...

#include "body.hpp"
#include "shape.hpp"
#include <compare>
#include <utility>
Include dependency graph for collision.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  physics::BodyShapeKey
struct  physics::BroadPhasePair

Functions

auto physics::canonicalPair (BodyShapeKey first, BodyShapeKey second) -> BroadPhasePair

Variables

constexpr uint8_t physics::k_primitive_manifold_normal_index = 0xFFu

Detailed Description

Canonical collision-pair records shared by broad and narrow phases.

Author
Xein
Date
10 Sep 2026