7 #ifndef CAFU_MATH_BRUSH_HPP_INCLUDED
8 #define CAFU_MATH_BRUSH_HPP_INCLUDED
10 #include "BoundingBox.hpp"
12 #include "Templates/Array.hpp"
This classes describes the trace (Verfolgungsergebnis) of a vector or a bounding box with regards to ...
Definition: Brush.hpp:18
bool StartSolid
Did the movement start inside the brush, "in solid"?
Definition: Brush.hpp:23
This class represents a polymorphic 3-dimensional vector.
Definition: Misc.hpp:11
void TraceBoundingBox(const BoundingBox3T< T > &BB, const Vector3T< T > &Origin, const Vector3T< T > &Dir, VB_Trace3T< T > &Trace) const
Traces the (relative) bounding box 'BB' from the (absolute) 'Origin' along 'Dir' towards the end posi...
Definition: Brush.cpp:43
Diese Klasse implementiert Brushes.
Definition: Brush.hpp:42
Vector3T< T > ImpactNormal
On impact, this is the normal vector of the hit plane.
Definition: Brush.hpp:24
Brush3T()
Default constructor.
Definition: Brush.hpp:50
T Fraction
This is how far we got, 0 <= Fraction <= 1.
Definition: Brush.hpp:22
VB_Trace3T(T Fraction_)
Constructor.
Definition: Brush.hpp:27
Definition: Renderer.hpp:16
ArrayT< Plane3T< T > > Planes
Array of planes this brush consists of.
Definition: Brush.hpp:46
This class represents an axis-aligned bounding-box ("AABB") in 3-dimensional space.
Definition: BoundingBox.hpp:23