TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Spline.cpp File Reference
#include "Spline.h"
#include <sstream>
#include <G3D/Matrix4.h>
+ Include dependency graph for Spline.cpp:

Namespaces

 Movement
 

Functions

static const Matrix4 Movement::s_Bezier3Coeffs (-1.f, 3.f,-3.f, 1.f, 3.f,-6.f, 3.f, 0.f,-3.f, 3.f, 0.f, 0.f, 1.f, 0.f, 0.f, 0.f)
 
void Movement::C_Evaluate (const Vector3 *vertice, float t, const Matrix4 &matr, Vector3 &result)
 
void Movement::C_Evaluate_Derivative (const Vector3 *vertice, float t, const Matrix4 &matr, Vector3 &result)
 

Variables

static const Matrix4 Movement::s_catmullRomCoeffs (-0.5f, 1.5f,-1.5f, 0.5f, 1.f,-2.5f, 2.f,-0.5f,-0.5f, 0.f, 0.5f, 0.f, 0.f, 1.f, 0.f, 0.f)