Motive Animation System
An open source project by FPL.
 All Classes Functions Variables Typedefs Friends Pages
motive::MathFuVectorConverter Class Reference

Convert mathfu types to float pointers. More...

#include <vector_converter.h>

Detailed Description

Convert mathfu types to float pointers.

Create your own converter if you'd like to use your own vector types in your Motivators' external API.

Public Types

typedef mathfu::vec2 Vector2
 
typedef mathfu::vec3 Vector3
 
typedef mathfu::vec4 Vector4
 
typedef mathfu::mat4 Matrix4
 

Static Public Member Functions

static float * ToPtr (float &f)
 
static float * ToPtr (Vector2 &v)
 
static float * ToPtr (Vector3 &v)
 
static float * ToPtr (Vector4 &v)
 
static float * ToPtr (Matrix4 &m)
 
static const float * ToPtr (const float &f)
 
static const float * ToPtr (const Vector2 &v)
 
static const float * ToPtr (const Vector3 &v)
 
static const float * ToPtr (const Vector4 &v)
 
static const float * ToPtr (const Matrix4 &m)
 
static float FromPtr (const float *f, float)
 
static Vector2 FromPtr (const float *f, const Vector2 &)
 
static Vector3 FromPtr (const float *f, const Vector3 &)
 
static Vector4 FromPtr (const float *f, const Vector4 &)
 
static Matrix4 FromPtr (const float *f, const Matrix4 &)
 

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