AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
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
 

Detailed Description

Constructor & Destructor Documentation

◆ SplineRawInitializer()

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

Member Function Documentation

◆ operator()()

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 }
@ ModeCatmullrom
Definition: Spline.h:37

References _points, and Movement::SplineBase::ModeCatmullrom.

Member Data Documentation

◆ _points

Movement::PointsArray& SplineRawInitializer::_points

Referenced by operator()().