Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXVec3f.h>
Public Member Functions | |
FXVec3f () | |
FXVec3f (const FXVec3f &v) | |
FXVec3f (const FXfloat v[]) | |
FXVec3f (FXfloat xx, FXfloat yy, FXfloat zz=1.0f) | |
FXVec3f (FXColor color) | |
FXfloat & | operator[] (FXint i) |
const FXfloat & | operator[] (FXint i) const |
FXVec3f & | operator= (FXColor color) |
FXVec3f & | operator= (const FXVec3f &v) |
FXVec3f & | operator= (const FXfloat v[]) |
FXVec3f & | operator *= (FXfloat n) |
FXVec3f & | operator/= (FXfloat n) |
FXVec3f & | operator+= (const FXVec3f &v) |
FXVec3f & | operator-= (const FXVec3f &v) |
operator FXfloat * () | |
operator const FXfloat * () const | |
operator FXVec2f & () | |
operator const FXVec2f & () const | |
operator FXColor () const | |
Public Attributes | |
FXfloat | x |
FXfloat | y |
FXfloat | z |
Friends | |
FXVec3f | operator+ (const FXVec3f &v) |
FXVec3f | operator- (const FXVec3f &v) |
FXVec3f | operator+ (const FXVec3f &a, const FXVec3f &b) |
FXVec3f | operator- (const FXVec3f &a, const FXVec3f &b) |
FXVec3f | operator * (const FXVec3f &a, FXfloat n) |
FXVec3f | operator * (FXfloat n, const FXVec3f &a) |
FXVec3f | operator/ (const FXVec3f &a, FXfloat n) |
FXVec3f | operator/ (FXfloat n, const FXVec3f &a) |
FXfloat | operator * (const FXVec3f &a, const FXVec3f &b) |
FXVec3f | operator^ (const FXVec3f &a, const FXVec3f &b) |
int | operator! (const FXVec3f &a) |
int | operator== (const FXVec3f &a, const FXVec3f &b) |
int | operator!= (const FXVec3f &a, const FXVec3f &b) |
int | operator== (const FXVec3f &a, FXfloat n) |
int | operator!= (const FXVec3f &a, FXfloat n) |
int | operator== (FXfloat n, const FXVec3f &a) |
int | operator!= (FXfloat n, const FXVec3f &a) |
int | operator< (const FXVec3f &a, const FXVec3f &b) |
int | operator<= (const FXVec3f &a, const FXVec3f &b) |
int | operator> (const FXVec3f &a, const FXVec3f &b) |
int | operator>= (const FXVec3f &a, const FXVec3f &b) |
int | operator< (const FXVec3f &a, FXfloat n) |
int | operator<= (const FXVec3f &a, FXfloat n) |
int | operator> (const FXVec3f &a, FXfloat n) |
int | operator>= (const FXVec3f &a, FXfloat n) |
int | operator< (FXfloat n, const FXVec3f &a) |
int | operator<= (FXfloat n, const FXVec3f &a) |
int | operator> (FXfloat n, const FXVec3f &a) |
int | operator>= (FXfloat n, const FXVec3f &a) |
FXfloat | len2 (const FXVec3f &a) |
FXfloat | len (const FXVec3f &a) |
FXVec3f | normalize (const FXVec3f &a) |
FXVec3f | lo (const FXVec3f &a, const FXVec3f &b) |
FXVec3f | hi (const FXVec3f &a, const FXVec3f &b) |
FXStream & | operator<< (FXStream &store, const FXVec3f &v) |
FXStream & | operator>> (FXStream &store, FXVec3f &v) |
|
Default constructor.
|
|
Copy constructor.
|
|
Initialize with components.
|
|
Initialize with color.
|
|
Return a non-const reference to the ith element.
|
|
Return a const reference to the ith element.
|
|
Assign color.
|
|
Assignment.
|
|
Assignment from array of floats.
|
|
Assigning operators.
|
|
Conversions.
|
|
Convert to color.
|
|
Unary.
|
|
Adding.
|
|
Substracting.
|
|
Scaling.
|
|
Dot and cross products.
|
|
Test if zero.
|
|
Equality tests.
|
|
Inequality tests.
|
|
Length and square of length.
|
|
Normalize vector.
|
|
Lowest or highest components.
|
|
Save vector to a stream.
|
|
Load vector from a stream.
|
Copyright © 1997-2004 Jeroen van der Zijp |