FX::FXVec2f Class Reference

#include <FXVec2f.h>

List of all members.


Detailed Description

Single-precision 2-element vector.

Definition at line 35 of file FXVec2f.h.

Public Member Functions

 FXVec2f ()
 FXVec2f (const FXVec2f &v)
 FXVec2f (const FXfloat v[])
 FXVec2f (FXfloat xx, FXfloat yy)
FXfloatoperator[] (FXint i)
const FXfloatoperator[] (FXint i) const
FXVec2foperator= (const FXVec2f &v)
FXVec2foperator= (const FXfloat v[])
FXVec2fset (const FXVec2f &v)
FXVec2fset (const FXfloat v[])
FXVec2fset (FXfloat xx, FXfloat yy)
FXVec2foperator *= (FXfloat n)
FXVec2foperator/= (FXfloat n)
FXVec2foperator+= (const FXVec2f &v)
FXVec2foperator-= (const FXVec2f &v)
 operator FXfloat * ()
 operator const FXfloat * () const
FXVec2f operator+ () const
FXVec2f operator- () const
FXVec2f operator+ (const FXVec2f &v) const
FXVec2f operator- (const FXVec2f &v) const
FXVec2f operator * (const FXMat3f &m) const
FXfloat operator * (const FXVec2f &v) const
bool operator! () const
bool operator== (const FXVec2f &v) const
bool operator!= (const FXVec2f &v) const
bool operator< (const FXVec2f &v) const
bool operator<= (const FXVec2f &v) const
bool operator> (const FXVec2f &v) const
bool operator>= (const FXVec2f &v) const
FXfloat length2 () const
FXfloat length () const
FXVec2fclamp (FXfloat lo, FXfloat hi)

Public Attributes

FXfloat x
FXfloat y

Friends

FXVec2f operator * (const FXVec2f &a, FXfloat n)
FXVec2f operator * (FXfloat n, const FXVec2f &a)
FXVec2f operator/ (const FXVec2f &a, FXfloat n)
FXVec2f operator/ (FXfloat n, const FXVec2f &a)
bool operator== (const FXVec2f &a, FXfloat n)
bool operator!= (const FXVec2f &a, FXfloat n)
bool operator== (FXfloat n, const FXVec2f &a)
bool operator!= (FXfloat n, const FXVec2f &a)
bool operator< (const FXVec2f &a, FXfloat n)
bool operator<= (const FXVec2f &a, FXfloat n)
bool operator> (const FXVec2f &a, FXfloat n)
bool operator>= (const FXVec2f &a, FXfloat n)
bool operator< (FXfloat n, const FXVec2f &a)
bool operator<= (FXfloat n, const FXVec2f &a)
bool operator> (FXfloat n, const FXVec2f &a)
bool operator>= (FXfloat n, const FXVec2f &a)
FXVec2f veclo (const FXVec2f &a, const FXVec2f &b)
FXVec2f vechi (const FXVec2f &a, const FXVec2f &b)
FXAPI FXVec2f vecnormalize (const FXVec2f &v)
FXAPI FXStreamoperator<< (FXStream &store, const FXVec2f &v)
FXAPI FXStreamoperator>> (FXStream &store, FXVec2f &v)


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:24 2009 for TnFOX by doxygen v1.4.7