orx  stable
Portable Game Engine
orxVector.h File Reference
#include "orxInclude.h"
#include "debug/orxDebug.h"
#include "memory/orxMemory.h"
#include "math/orxMath.h"

Go to the source code of this file.

Data Structures

struct  orxVECTOR
 

Functions

static orxINLINE orxFLOAT orxVector_2DDot (const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 
static orxINLINE orxVECTORorxVector_2DRotate (orxVECTOR *_pvRes, const orxVECTOR *_pvOp, orxFLOAT _fAngle)
 
static orxINLINE orxVECTORorxVector_Add (orxVECTOR *_pvRes, const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 
static orxINLINE orxBOOL orxVector_AreEqual (const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxVector_Bezier (orxVECTOR *_pvRes, const orxVECTOR *_pvPoint1, const orxVECTOR *_pvPoint2, const orxVECTOR *_pvPoint3, const orxVECTOR *_pvPoint4, orxFLOAT _fT)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxVector_CatmullRom (orxVECTOR *_pvRes, const orxVECTOR *_pvPoint1, const orxVECTOR *_pvPoint2, const orxVECTOR *_pvPoint3, const orxVECTOR *_pvPoint4, orxFLOAT _fT)
 
static orxINLINE orxVECTORorxVector_Clamp (orxVECTOR *_pvRes, const orxVECTOR *_pvOp, const orxVECTOR *_pvMin, const orxVECTOR *_pvMax)
 
static orxINLINE orxVECTORorxVector_Copy (orxVECTOR *_pvDst, const orxVECTOR *_pvSrc)
 
static orxINLINE orxVECTORorxVector_Cross (orxVECTOR *_pvRes, const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 
static orxINLINE orxVECTORorxVector_Div (orxVECTOR *_pvRes, const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 
static orxINLINE orxVECTORorxVector_Divf (orxVECTOR *_pvRes, const orxVECTOR *_pvOp1, orxFLOAT _fOp2)
 
static orxINLINE orxFLOAT orxVector_Dot (const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 
static orxINLINE orxVECTORorxVector_Floor (orxVECTOR *_pvRes, const orxVECTOR *_pvOp)
 
static orxINLINE orxVECTORorxVector_FromCartesianToSpherical (orxVECTOR *_pvRes, const orxVECTOR *_pvOp)
 
static orxINLINE orxVECTORorxVector_FromSphericalToCartesian (orxVECTOR *_pvRes, const orxVECTOR *_pvOp)
 
static orxINLINE orxFLOAT orxVector_GetDistance (const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 
static orxINLINE orxFLOAT orxVector_GetSize (const orxVECTOR *_pvOp)
 
static orxINLINE orxFLOAT orxVector_GetSquareDistance (const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 
static orxINLINE orxFLOAT orxVector_GetSquareSize (const orxVECTOR *_pvOp)
 
static orxINLINE orxBOOL orxVector_IsNull (const orxVECTOR *_pvOp)
 
static orxINLINE orxVECTORorxVector_Lerp (orxVECTOR *_pvRes, const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2, orxFLOAT _fOp)
 
static orxINLINE orxVECTORorxVector_Max (orxVECTOR *_pvRes, const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 
static orxINLINE orxVECTORorxVector_Min (orxVECTOR *_pvRes, const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 
static orxINLINE orxVECTORorxVector_Mul (orxVECTOR *_pvRes, const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 
static orxINLINE orxVECTORorxVector_Mulf (orxVECTOR *_pvRes, const orxVECTOR *_pvOp1, orxFLOAT _fOp2)
 
static orxINLINE orxVECTORorxVector_Neg (orxVECTOR *_pvRes, const orxVECTOR *_pvOp)
 
static orxINLINE orxVECTORorxVector_Normalize (orxVECTOR *_pvRes, const orxVECTOR *_pvOp)
 
static orxINLINE orxVECTORorxVector_Rec (orxVECTOR *_pvRes, const orxVECTOR *_pvOp)
 
static orxINLINE orxVECTORorxVector_Round (orxVECTOR *_pvRes, const orxVECTOR *_pvOp)
 
static orxINLINE orxVECTORorxVector_Set (orxVECTOR *_pvVec, orxFLOAT _fX, orxFLOAT _fY, orxFLOAT _fZ)
 
static orxINLINE orxVECTORorxVector_SetAll (orxVECTOR *_pvVec, orxFLOAT _fValue)
 
static orxINLINE orxVECTORorxVector_Sub (orxVECTOR *_pvRes, const orxVECTOR *_pvOp1, const orxVECTOR *_pvOp2)
 

Variables

orxDLLAPI const orxVECTOR orxVECTOR_0
 
orxDLLAPI const orxVECTOR orxVECTOR_1
 
orxDLLAPI const orxVECTOR orxVECTOR_BLACK
 
orxDLLAPI const orxVECTOR orxVECTOR_BLUE
 
orxDLLAPI const orxVECTOR orxVECTOR_CYAN
 
orxDLLAPI const orxVECTOR orxVECTOR_GREEN
 
orxDLLAPI const orxVECTOR orxVECTOR_MAGENTA
 
orxDLLAPI const orxVECTOR orxVECTOR_RED
 
orxDLLAPI const orxVECTOR orxVECTOR_WHITE
 
orxDLLAPI const orxVECTOR orxVECTOR_X
 
orxDLLAPI const orxVECTOR orxVECTOR_Y
 
orxDLLAPI const orxVECTOR orxVECTOR_YELLOW
 
orxDLLAPI const orxVECTOR orxVECTOR_Z
 

Detailed Description


Generated for orx by doxygen 1.5.6