raSystem  1.0 bata
raVector2.h File Reference

Go to the source code of this file.

Classes

class  raVector2
 

Functions

raVector2 operator+ (const raVector2 &a, const raVector2 &b)
 
raVector2 operator- (const raVector2 &a, const raVector2 &b)
 
raVector2 operator* (const raVector2 &a, const raVector2 &b)
 
raVector2 operator/ (const raVector2 &a, const raVector2 &b)
 
raVector2 operator+ (const raFloat &f, const raVector2 &b)
 
raVector2 operator- (const raFloat &f, const raVector2 &b)
 
raVector2 operator* (const raFloat &f, const raVector2 &b)
 
raVector2 operator/ (const raFloat &f, const raVector2 &b)
 
raVector2 operator- (const raVector2 &a, const raFloat &f)
 
raVector2 operator/ (const raVector2 &a, const raFloat &f)
 
bool operator== (const raVector2 &a, const raVector2 &b)
 
bool operator!= (const raVector2 &a, const raVector2 &b)
 
bool operator<= (const raVector2 &a, const raVector2 &b)
 
bool operator>= (const raVector2 &a, const raVector2 &b)
 
bool operator< (const raVector2 &a, const raVector2 &b)
 
bool operator> (const raVector2 &a, const raVector2 &b)
 
raFloat raVector2Lenght (const raVector2 &v)
 
raFloat raVector2LenghtSq (const raVector2 &v)
 
raVector2 raVector2Normalize (const raVector2 &v)
 
raVector2 raVector2NormalizeEx (const raVector2 &v)
 
raFloat raVector2Dot (const raVector2 &v1, const raVector2 &v2)
 
raFloat raVector2Angle (const raVector2 &v1, const raVector2 &v2)
 
raVector2 raVector2InterpolateCoords (const raVector2 &v1, const raVector2 &v2, const raFloat p)
 
raVector2 raVector2InterpolateNormal (const raVector2 &v1, const raVector2 &v2, const raFloat p)
 
bool raVector2NearEqual (const raVector2 &v1, raVector2 &v2, const raVector2 &epsilon)
 

Function Documentation

◆ operator!=()

bool operator!= ( const raVector2 a,
const raVector2 b 
)
inline

Definition at line 48 of file raVector2.h.

◆ operator*() [1/2]

raVector2 operator* ( const raVector2 a,
const raVector2 b 
)
inline

Definition at line 38 of file raVector2.h.

◆ operator*() [2/2]

raVector2 operator* ( const raFloat f,
const raVector2 b 
)
inline

Definition at line 42 of file raVector2.h.

◆ operator+() [1/2]

raVector2 operator+ ( const raVector2 a,
const raVector2 b 
)
inline

Definition at line 36 of file raVector2.h.

◆ operator+() [2/2]

raVector2 operator+ ( const raFloat f,
const raVector2 b 
)
inline

Definition at line 40 of file raVector2.h.

◆ operator-() [1/3]

raVector2 operator- ( const raVector2 a,
const raVector2 b 
)
inline

Definition at line 37 of file raVector2.h.

◆ operator-() [2/3]

raVector2 operator- ( const raFloat f,
const raVector2 b 
)
inline

Definition at line 41 of file raVector2.h.

◆ operator-() [3/3]

raVector2 operator- ( const raVector2 a,
const raFloat f 
)
inline

Definition at line 44 of file raVector2.h.

◆ operator/() [1/3]

raVector2 operator/ ( const raVector2 a,
const raVector2 b 
)
inline

Definition at line 39 of file raVector2.h.

◆ operator/() [2/3]

raVector2 operator/ ( const raFloat f,
const raVector2 b 
)
inline

Definition at line 43 of file raVector2.h.

◆ operator/() [3/3]

raVector2 operator/ ( const raVector2 a,
const raFloat f 
)
inline

Definition at line 45 of file raVector2.h.

◆ operator<()

bool operator< ( const raVector2 a,
const raVector2 b 
)
inline

Definition at line 51 of file raVector2.h.

◆ operator<=()

bool operator<= ( const raVector2 a,
const raVector2 b 
)
inline

Definition at line 49 of file raVector2.h.

◆ operator==()

bool operator== ( const raVector2 a,
const raVector2 b 
)
inline

Definition at line 47 of file raVector2.h.

◆ operator>()

bool operator> ( const raVector2 a,
const raVector2 b 
)
inline

Definition at line 52 of file raVector2.h.

◆ operator>=()

bool operator>= ( const raVector2 a,
const raVector2 b 
)
inline

Definition at line 50 of file raVector2.h.

◆ raVector2Angle()

raFloat raVector2Angle ( const raVector2 v1,
const raVector2 v2 
)
inline

Definition at line 60 of file raVector2.h.

◆ raVector2Dot()

raFloat raVector2Dot ( const raVector2 v1,
const raVector2 v2 
)
inline

Definition at line 59 of file raVector2.h.

◆ raVector2InterpolateCoords()

raVector2 raVector2InterpolateCoords ( const raVector2 v1,
const raVector2 v2,
const raFloat  p 
)
inline

Definition at line 62 of file raVector2.h.

◆ raVector2InterpolateNormal()

raVector2 raVector2InterpolateNormal ( const raVector2 v1,
const raVector2 v2,
const raFloat  p 
)
inline

Definition at line 64 of file raVector2.h.

◆ raVector2Lenght()

raFloat raVector2Lenght ( const raVector2 v)
inline

Definition at line 54 of file raVector2.h.

◆ raVector2LenghtSq()

raFloat raVector2LenghtSq ( const raVector2 v)
inline

Definition at line 55 of file raVector2.h.

◆ raVector2NearEqual()

bool raVector2NearEqual ( const raVector2 v1,
raVector2 v2,
const raVector2 epsilon 
)
inline

Definition at line 66 of file raVector2.h.

◆ raVector2Normalize()

raVector2 raVector2Normalize ( const raVector2 v)
inline

Definition at line 56 of file raVector2.h.

◆ raVector2NormalizeEx()

raVector2 raVector2NormalizeEx ( const raVector2 v)
inline

Definition at line 57 of file raVector2.h.