TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SplineRawInitializer Class Reference

Public Member Functions

 SplineRawInitializer (Movement::PointsArray &points)
 
void operator() (uint8 &mode, bool &cyclic, Movement::PointsArray &points, int &lo, int &hi) const
 

Public Attributes

Movement::PointsArray_points
 

Constructor & Destructor Documentation

SplineRawInitializer::SplineRawInitializer ( Movement::PointsArray points)
inline
101 : _points(points) { }
Movement::PointsArray & _points
Definition: TransportMgr.cpp:112

Member Function Documentation

void SplineRawInitializer::operator() ( uint8 mode,
bool cyclic,
Movement::PointsArray points,
int &  lo,
int &  hi 
) const
inline
104  {
106  cyclic = false;
107  points.assign(_points.begin(), _points.end());
108  lo = 1;
109  hi = points.size() - 2;
110  }
Movement::PointsArray & _points
Definition: TransportMgr.cpp:112

Member Data Documentation

Movement::PointsArray& SplineRawInitializer::_points

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