Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
CollisionCollectorTraitsCollideShape Class Reference

Traits to use for CollideShape. More...

#include <CollisionCollector.h>

Static Public Attributes

static constexpr float InitialEarlyOutFraction = FLT_MAX
 For shape collisions we use -penetration depth to order hits. More...
 
static constexpr float ShouldEarlyOutFraction = -FLT_MAX
 Deepest hit: Penetration is infinite. More...
 

Detailed Description

Traits to use for CollideShape.

Member Data Documentation

◆ InitialEarlyOutFraction

constexpr float CollisionCollectorTraitsCollideShape::InitialEarlyOutFraction = FLT_MAX
staticconstexpr

For shape collisions we use -penetration depth to order hits.

Most shallow hit: Separation is infinite

◆ ShouldEarlyOutFraction

constexpr float CollisionCollectorTraitsCollideShape::ShouldEarlyOutFraction = -FLT_MAX
staticconstexpr

Deepest hit: Penetration is infinite.


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