Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Spline.cpp File Reference
#include "Spline.h"
#include <G3D/Matrix4.h>
#include <sstream>
Include dependency graph for Spline.cpp:

Go to the source code of this file.

Namespaces

namespace  Movement

Functions

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