Cafu Engine
VB_Trace3T< T > Class Template Reference

This classes describes the trace (Verfolgungsergebnis) of a vector or a bounding box with regards to a brush. More...

#include "Brush.hpp"

Public Member Functions

 VB_Trace3T (T Fraction_)
 Constructor. More...
 

Public Attributes

Fraction
 This is how far we got, 0 <= Fraction <= 1. More...
 
bool StartSolid
 Did the movement start inside the brush, "in solid"? More...
 
Vector3T< T > ImpactNormal
 On impact, this is the normal vector of the hit plane. More...
 

Detailed Description

template<class T>
class VB_Trace3T< T >

This classes describes the trace (Verfolgungsergebnis) of a vector or a bounding box with regards to a brush.

The name VB_TraceT means "vector-brush trace".

Constructor & Destructor Documentation

template<class T>
VB_Trace3T< T >::VB_Trace3T ( Fraction_)
inline

Constructor.

Member Data Documentation

template<class T>
T VB_Trace3T< T >::Fraction

This is how far we got, 0 <= Fraction <= 1.

template<class T>
Vector3T<T> VB_Trace3T< T >::ImpactNormal

On impact, this is the normal vector of the hit plane.

template<class T>
bool VB_Trace3T< T >::StartSolid

Did the movement start inside the brush, "in solid"?


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