![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXVec2f.h>
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 | lo (const FXVec2f &a, const FXVec2f &b) |
FXVec2f | hi (const FXVec2f &a, const FXVec2f &b) |
FXVec2f | normalize (const FXVec2f &v) |
FXStream & | operator<< (FXStream &store, const FXVec2f &v) |
FXStream & | operator>> (FXStream &store, FXVec2f &v) |
Single-precision 2-element vector.
|
inline |
Default constructor.
|
inline |
|
inline |
Initialize from array of floats.
Return a const reference to the ith element.
|
inline |
Conversions.
|
inline |
|
inline |
Unary.
|
inline |
|
inline |
Test if zero.
|
inline |
|
inline |
|
inline |
Length and square of length.
Clamp values of vector between limits.
References FXCLAMP.
FXfloat FX::FXVec2f::x |
Referenced by FXVec2f(), FX::hi(), FX::lo(), operator!=(), FX::operator!=(), operator*(), FX::operator*(), operator+(), operator+=(), operator-(), operator-=(), FX::operator/(), operator<(), FX::operator<(), operator<=(), FX::operator<=(), operator=(), operator==(), FX::operator==(), operator>(), FX::operator>(), operator>=(), FX::operator>=(), and set().
FXfloat FX::FXVec2f::y |
Referenced by FXVec2f(), FX::hi(), FX::lo(), operator!=(), FX::operator!=(), operator*(), FX::operator*(), operator+(), operator+=(), operator-(), operator-=(), FX::operator/(), operator<(), FX::operator<(), operator<=(), FX::operator<=(), operator=(), operator==(), FX::operator==(), operator>(), FX::operator>(), operator>=(), FX::operator>=(), and set().
![]() |