Static Public Member Functions |
static Vector3 | zero () |
| finger saving alias for Vector3(0, 0, 0)
|
static Vector3 | one () |
| finger saving alias for Vector3(1, 1, 1)
|
static Vector3 | one_x () |
| finger saving alias for Vector3(1, 0, 0)
|
static Vector3 | one_y () |
| finger saving alias for Vector3(0, 1, 0)
|
static Vector3 | one_z () |
| finger saving alias for Vector3(0, 0, 1)
|
template<typename T>
class CEGUI::Vector3< T >
Class used as a three dimensional vector.
- This class is templated now, this allows us to use it as a Vector3 of floats, ints or even UDims without replicating the code all over the place.
- For a simple Vector3 of floats (what was called Vector3 before), use Vector3f as the T template parameter defaults to float to save fingertips.