AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Spline.cpp File Reference
#include "Spline.h"
#include <G3D/Matrix4.h>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  Movement
 

Functions

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)
 
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)