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
100: _points(points) { }
Movement::PointsArray & _points
Definition: TransportMgr.cpp:111

Member Function Documentation

◆ operator()()

void SplineRawInitializer::operator() ( uint8 mode,
bool &  cyclic,
Movement::PointsArray points,
int &  lo,
int &  hi 
) const
inline
103 {
105 cyclic = false;
106 points.assign(_points.begin(), _points.end());
107 lo = 1;
108 hi = points.size() - 2;
109 }
@ ModeCatmullrom
Definition: Spline.h:37

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

Member Data Documentation

◆ _points

Movement::PointsArray& SplineRawInitializer::_points

Referenced by operator()().