![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXVec3f.h>
| FX::FXVec3f::FXVec3f | ( | ) | [inline] |
Default constructor.
| FX::FXVec3f::FXVec3f | ( | const FXVec3f & | v | ) | [inline] |
| FX::FXVec3f::FXVec3f | ( | const FXfloat | v[] | ) | [inline] |
Initialize from array of floats.
Initialize from components.
| FX::FXVec3f::FXVec3f | ( | FXColor | color | ) |
Initialize with color.
Return a non-const reference to the ith element.
Return a const reference to the ith element.
Set value from components.
| FX::FXVec3f::operator FXfloat * | ( | ) | [inline] |
Conversions.
| FX::FXVec3f::operator const FXfloat * | ( | ) | const [inline] |
| FX::FXVec3f::operator FXVec2f & | ( | ) | [inline] |
| FX::FXVec3f::operator const FXVec2f & | ( | ) | const [inline] |
| FX::FXVec3f::operator FXColor | ( | ) | const |
Convert to color.
| FXVec3f FX::FXVec3f::operator+ | ( | ) | const [inline] |
Unary.
| FXVec3f FX::FXVec3f::operator- | ( | ) | const [inline] |
| bool FX::FXVec3f::operator! | ( | ) | const [inline] |
Test if zero.
| bool FX::FXVec3f::operator== | ( | const FXVec3f & | v | ) | const [inline] |
| bool FX::FXVec3f::operator< | ( | const FXVec3f & | v | ) | const [inline] |
| FXfloat FX::FXVec3f::length2 | ( | ) | const [inline] |
Length and square of length.
Compute normal from three points a,b,c.
| FXVec3f normal | ( | const FXVec3f & | a, | |
| const FXVec3f & | b, | |||
| const FXVec3f & | c, | |||
| const FXVec3f & | d | |||
| ) | [friend] |
Compute approximate normal from four points a,b,c,d.
Referenced by FXVec3f(), FX::FXVec4f::FXVec4f(), FX::hi(), FX::lo(), FX::operator!=(), operator!=(), FX::operator*(), operator*(), operator+(), operator+=(), operator-(), operator-=(), FX::operator/(), FX::operator<(), operator<(), FX::operator<=(), operator<=(), FX::FXVec4f::operator=(), operator=(), FX::operator==(), operator==(), FX::operator>(), operator>(), FX::operator>=(), operator>=(), operator^(), and set().
Referenced by FXVec3f(), FX::FXVec4f::FXVec4f(), FX::hi(), FX::lo(), FX::operator!=(), operator!=(), FX::operator*(), operator*(), operator+(), operator+=(), operator-(), operator-=(), FX::operator/(), FX::operator<(), operator<(), FX::operator<=(), operator<=(), FX::FXVec4f::operator=(), operator=(), FX::operator==(), operator==(), FX::operator>(), operator>(), FX::operator>=(), operator>=(), and operator^().
Referenced by FXVec3f(), FX::FXVec4f::FXVec4f(), FX::hi(), FX::lo(), FX::operator!=(), operator!=(), FX::operator*(), operator*(), operator+(), operator+=(), operator-(), operator-=(), FX::operator/(), FX::operator<(), operator<(), FX::operator<=(), operator<=(), FX::FXVec4f::operator=(), operator=(), FX::operator==(), operator==(), FX::operator>(), operator>(), FX::operator>=(), operator>=(), and operator^().
|
|