|
Bomberman
|
A Vector3 data type. (templated to allow any kind of vector3) More...
#include <Vector3.hpp>
Public Member Functions | |
| Vector3 () | |
| Create a new nil vector3. More... | |
| Vector3 (T _x, T _y, T _z) | |
| Create a new vector3 representing a specific coordinate. More... | |
| ~Vector3 ()=default | |
| A default destructor. More... | |
| bool | operator== (const Vector3< T > &other) const |
| bool | operator!= (const Vector3< T > &other) const |
| template<typename T2 > | |
| Vector3< T > & | operator+= (const Vector3< T2 > &vec) |
| template<typename T2 > | |
| Vector3< T > | operator+ (const Vector3< T2 > &vec) const |
| template<typename T2 > | |
| Vector3< T > & | operator-= (const Vector3< T2 > &vec) |
| template<typename T2 > | |
| Vector3< T > | operator- (const Vector3< T2 > &vec) const |
| template<typename T2 > | |
| Vector3< T > & | operator*= (const T2 d) |
| template<typename T2 > | |
| Vector3< T > | operator* (const T2 d) const |
| template<typename T2 > | |
| Vector3< T > | operator* (const Vector3< T2 > &b) const |
| template<typename T2 > | |
| Vector3< T > | operator/= (const Vector3< T2 > &b) |
| template<typename T2 > | |
| Vector3< T > | operator/ (const Vector3< T2 > &b) const |
| template<typename T2 > | |
| Vector3< T > | operator/= (T2 b) |
| template<typename T2 > | |
| Vector3< T > | operator/ (T2 b) const |
| template<typename T2 > | |
| double | distance (const Vector3< T2 > &o) const |
| double | magnitude () const |
| Vector3< T > | normalize () |
| Vector3< T > | normalized () const |
| Vector3< T > | projection (const Vector3< T > &point) const |
| Vector3< T > | abs () const |
| Vector3< T > | trunc () const requires(std |
| Vector3< T > | ceil () const requires(std |
| Vector3< T > | floor () const requires(std |
| Vector3< T > | round () const requires(std |
| bool | isNull () const |
| operator RAY::Vector3 () const requires(std | |
Static Public Member Functions | |
| static Vector3< T > | min (Vector3< T > a, Vector3< T > b) |
| static Vector3< T > | max (Vector3< T > a, Vector3< T > b) |
Public Attributes | |
| T | x |
| The x value of the vector. More... | |
| T | y |
| The y value of the vector. More... | |
| T | z |
| The y value of the vector. More... | |
A Vector3 data type. (templated to allow any kind of vector3)
|
inline |
Create a new nil vector3.
|
inline |
Create a new vector3 representing a specific coordinate.
|
default |
A default destructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| T BBM::Vector3< T >::x |
The x value of the vector.
| T BBM::Vector3< T >::y |
The y value of the vector.
| T BBM::Vector3< T >::z |
The y value of the vector.
1.8.17