gcu::Vector3f Class Reference
#include <gcu/vector.h>
List of all members.
Detailed Description
Utility 3d vectors class used by the gcu::Sphere class.
Definition at line 78 of file vector.h.
Constructor & Destructor Documentation
gcu::Vector3f::Vector3f |
( |
|
) |
|
Constructs a vector with all three coordinates equal to 0.
gcu::Vector3f::Vector3f |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z | |
|
) |
| | |
- Parameters:
-
| x | the x coordinate. |
| y | the y coordinate. |
| z | the z coordinate. |
Constructs a vector given its three coordinates.
gcu::Vector3f::~Vector3f |
( |
|
) |
|
Member Function Documentation
Vector3f gcu::Vector3f::operator* |
( |
float |
f |
) |
const |
- Parameters:
-
- Returns:
- the vector multiplied by f.
- Parameters:
-
- Returns:
- the some of the two vectors.
- Parameters:
-
The assignment operator.
- Returns:
- a new vector identical to other and this.
The documentation for this class was generated from the following file: