24 lines
No EOL
499 B
C++
24 lines
No EOL
499 B
C++
#ifdef GESTURE_EVALUATOR
|
|
#pragma once
|
|
#include "vector2.h"
|
|
#include "vector3.h"
|
|
#include "vector4.h"
|
|
|
|
namespace VectorMathLimited
|
|
{
|
|
class vectorConverter
|
|
{
|
|
public:
|
|
static vector3& vec2To3(vector2 src, float z = 0.0f);
|
|
static vector2& vec3To2(vector3 src);
|
|
|
|
static vector4& vec3To4(vector3 src, float w = 0.0f);
|
|
static vector3& vec4To3(vector4 src);
|
|
|
|
static vector4& vec2To4(vector2 src, float z = 0.0f, float w = 0.0f);
|
|
|
|
vectorConverter(void);
|
|
~vectorConverter(void);
|
|
};
|
|
}
|
|
#endif |