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

#include <Spline.h>

Public Types

enum  EvaluationMode {
  ModeLinear, ModeCatmullrom, ModeBezier3_Unused, UninitializedMode,
  ModesEnd
}
 
typedef int index_type
 
typedef std::vector< Vector3ControlArray
 

Protected Types

enum  { STEPS_PER_SEGMENT = 3 }
 

Protected Attributes

ControlArray points
 
index_type index_lo
 
index_type index_hi
 
uint8 m_mode
 
bool cyclic
 

Member Typedef Documentation

Member Enumeration Documentation

anonymous enum
protected
Enumerator
STEPS_PER_SEGMENT 
52  {
53  // could be modified, affects segment length evaluation precision
54  // lesser value saves more performance in cost of lover precision
55  // minimal value is 1
56  // client's value is 20, blizzs use 2-3 steps to compute length
58  };
Enumerator
ModeLinear 
ModeCatmullrom 
ModeBezier3_Unused 
UninitializedMode 
ModesEnd 
35  {
36  ModeLinear,
40  ModesEnd
41  };
Definition: Spline.h:36
Definition: Spline.h:40

Member Data Documentation

bool Movement::SplineBase::cyclic
protected
index_type Movement::SplineBase::index_hi
protected
index_type Movement::SplineBase::index_lo
protected
uint8 Movement::SplineBase::m_mode
protected
ControlArray Movement::SplineBase::points
protected

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