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

Traits to use for CastRay. 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 = 0.0f
 Closest hit: Fraction is 0. More...
 

Detailed Description

Traits to use for CastRay.

Member Data Documentation

◆ InitialEarlyOutFraction

constexpr float CollisionCollectorTraitsCastRay::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 CollisionCollectorTraitsCastRay::ShouldEarlyOutFraction = 0.0f
staticconstexpr

Closest hit: Fraction is 0.


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