csVector4 Class Reference
[Geometry utilities]
A 4D vector with "float" components.
More...
#include <csgeom/vector4.h>
Inheritance diagram for csVector4:
![Inheritance graph](classcsVector4__inherit__graph.png)
Public Member Functions | |
csVector4 (const csVector3 &v) | |
Convert from a three-component vector. w is set to 1. | |
csVector4 (const csVector4T< float > &v) | |
Copy Constructor. | |
csVector4 (const csVector4 &v) | |
Copy Constructor. | |
csVector4 (float ix, float iy, float iz=0, float iw=1) | |
Make a new vector and initialize with the given values. | |
csVector4 (const float &m) | |
Make a new initialized vector. | |
csVector4 () | |
Make a new vector. | |
csVector4 & | operator= (const csVector3 &other) |
Assignment operator. | |
csVector4 & | operator= (const csVector4T< float > &other) |
Assignment operator. |
Detailed Description
A 4D vector with "float" components.
Definition at line 305 of file vector4.h.
Constructor & Destructor Documentation
csVector4::csVector4 | ( | ) | [inline] |
csVector4::csVector4 | ( | const float & | m | ) | [inline] |
csVector4::csVector4 | ( | float | ix, | |
float | iy, | |||
float | iz = 0 , |
|||
float | iw = 1 | |||
) | [inline] |
csVector4::csVector4 | ( | const csVector4 & | v | ) | [inline] |
csVector4::csVector4 | ( | const csVector4T< float > & | v | ) | [inline] |
csVector4::csVector4 | ( | const csVector3 & | v | ) | [inline] |
Member Function Documentation
Assignment operator.
Definition at line 343 of file vector4.h.
References csVector4T< float >::Set(), csVector3::x, csVector3::y, and csVector3::z.
csVector4& csVector4::operator= | ( | const csVector4T< float > & | other | ) | [inline] |
Assignment operator.
Definition at line 336 of file vector4.h.
References csVector4T< float >::Set(), csVector4T< T >::w, csVector4T< T >::x, csVector4T< T >::y, and csVector4T< T >::z.
The documentation for this class was generated from the following file:
- csgeom/vector4.h
Generated for Crystal Space by doxygen 1.4.7