DDraceNetwork Docs
|
#include <vmath.h>
Public Member Functions | |
constexpr | vector2_base ()=default |
constexpr | vector2_base (T nx, T ny) |
vector2_base | operator- () const |
vector2_base | operator- (const vector2_base &vec) const |
vector2_base | operator+ (const vector2_base &vec) const |
vector2_base | operator* (const T rhs) const |
vector2_base | operator* (const vector2_base &vec) const |
vector2_base | operator/ (const T rhs) const |
vector2_base | operator/ (const vector2_base &vec) const |
const vector2_base & | operator+= (const vector2_base &vec) |
const vector2_base & | operator-= (const vector2_base &vec) |
const vector2_base & | operator*= (const T rhs) |
const vector2_base & | operator*= (const vector2_base &vec) |
const vector2_base & | operator/= (const T rhs) |
const vector2_base & | operator/= (const vector2_base &vec) |
bool | operator== (const vector2_base &vec) const |
bool | operator!= (const vector2_base &vec) const |
T & | operator[] (const int index) |
Public Attributes | |
union { | |
T x | |
T u | |
}; | |
union { | |
T y | |
T v | |
}; | |
|
constexprdefault |
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
union { ... } vector2_base< T >::@14 |
union { ... } vector2_base< T >::@16 |
T vector2_base< T >::u |
T vector2_base< T >::v |
T vector2_base< T >::x |
T vector2_base< T >::y |