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

Traits to use for CastShape. More...

#include <CollisionCollector.h>

Static Public Attributes

static constexpr float InitialEarlyOutFraction = 1.0f + FLT_EPSILON
 For rays the early out fraction is the fraction along the line to order hits. More...
 
static constexpr float ShouldEarlyOutFraction = -FLT_MAX
 Deepest hit: Penetration is infinite. More...
 

Detailed Description

Traits to use for CastShape.

Member Data Documentation

◆ InitialEarlyOutFraction

constexpr float CollisionCollectorTraitsCastShape::InitialEarlyOutFraction = 1.0f + FLT_EPSILON
staticconstexpr

For rays the early out fraction is the fraction along the line to order hits.

Furthest hit: Fraction is 1 + epsilon

◆ ShouldEarlyOutFraction

constexpr float CollisionCollectorTraitsCastShape::ShouldEarlyOutFraction = -FLT_MAX
staticconstexpr

Deepest hit: Penetration is infinite.


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