c

namespace math

Include: Math/Decay.h

Classes and Structures

class Matrix A Matrix class.
class Matrix4x4  
class Noise1D  
class Noise2D  
class Noise3D  

Functions

void CrossProduct(simul::math::Vector3 result, simul::math::Vector3 v1, simul::math::Vector3 v2)
float DotProduct3(simul::math::Vector3 v1, simul::math::Vector3 v2)
void FirstOrderDecay(float variable, float target, float rate, float dt)
std::ostream & operator«(std::ostream, simul::math::Vector3)
std::istream & operator»(std::istream, simul::math::Vector3)

Functions

void CrossProduct(simul::math::Vector3 result, simul::math::Vector3 v1, simul::math::Vector3 v2)

Catmull-Rom interpolate with parameter talong a spline formed by vectors x0, x1, x2and x3.

float DotProduct3(simul::math::Vector3 v1, simul::math::Vector3 v2)

Linearly interpolate between two vectors.

void FirstOrderDecay(float variable, float target, float rate, float dt)

Apply a first-order decay to a float variable, based on the timestep dt.

std::ostream & operator«(std::ostream, simul::math::Vector3)

The smallest x y and z of two vectors.

std::istream & operator»(std::istream, simul::math::Vector3)

The largest x y and z of two vectors.