7 #ifndef CAFU_CLIPSYS_TRACE_RESULT_HPP_INCLUDED
8 #define CAFU_CLIPSYS_TRACE_RESULT_HPP_INCLUDED
10 #include "Math3D/Vector3.hpp"
Vector3dT ImpactNormal
On impact, this is the normal vector of the hit surface.
Definition: TraceResult.hpp:43
A clip model represents an object in the world against which clipping queries can be performed...
Definition: ClipModel.hpp:31
bool StartSolid
Did the trace start in a solid part of the collision or clip model?
Definition: TraceResult.hpp:42
TraceResultT Result
The result of the trace that hit ClipModel (Result.Fraction < 1.0).
Definition: TraceResult.hpp:55
This class describes one result (of possibly several) of tracing an object (a ray, a bounding-box, or a convex solid) through a clip world.
Definition: TraceResult.hpp:50
This class represents a surface material ("A datastructural representation of a scripts material def...
Definition: Material.hpp:22
MaterialT * Material
The material at the point of impact. Can be NULL when an edge (i.e. a bevel plane) was hit...
Definition: TraceResult.hpp:44
double Fraction
How much of the trace could be completed before a hit occurred (if any).
Definition: TraceResult.hpp:41
This class describes the result of tracing an object (a ray, a bounding-box, or a convex solid) throu...
Definition: TraceResult.hpp:36
ClipModelT * ClipModel
The clip model related to the trace result. If NULL, the trace result is related to the ClipWorldT::W...
Definition: TraceResult.hpp:56
TraceResultT(double Fraction_=1.0)
The constructor.
Definition: TraceResult.hpp:39