DDraceNetwork Docs
vector3_base< T > Class Template Reference

#include <vmath.h>

Public Member Functions

constexpr vector3_base ()=default
 
constexpr vector3_base (T nx, T ny, T nz)
 
vector3_base operator- (const vector3_base &vec) const
 
vector3_base operator- () const
 
vector3_base operator+ (const vector3_base &vec) const
 
vector3_base operator* (const T rhs) const
 
vector3_base operator* (const vector3_base &vec) const
 
vector3_base operator/ (const T rhs) const
 
vector3_base operator/ (const vector3_base &vec) const
 
const vector3_baseoperator+= (const vector3_base &vec)
 
const vector3_baseoperator-= (const vector3_base &vec)
 
const vector3_baseoperator*= (const T rhs)
 
const vector3_baseoperator*= (const vector3_base &vec)
 
const vector3_baseoperator/= (const T rhs)
 
const vector3_baseoperator/= (const vector3_base &vec)
 
bool operator== (const vector3_base &vec) const
 
bool operator!= (const vector3_base &vec) const
 

Public Attributes

union {
   T   x
 
   T   r
 
   T   h
 
   T   u
 
}; 
 
union {
   T   y
 
   T   g
 
   T   s
 
   T   v
 
}; 
 
union {
   T   z
 
   T   b
 
   T   l
 
   T   w
 
}; 
 

Constructor & Destructor Documentation

◆ vector3_base() [1/2]

template<typename T >
constexpr vector3_base< T >::vector3_base ( )
constexprdefault

◆ vector3_base() [2/2]

template<typename T >
constexpr vector3_base< T >::vector3_base ( nx,
ny,
nz 
)
inlineconstexpr

Member Function Documentation

◆ operator!=()

template<typename T >
bool vector3_base< T >::operator!= ( const vector3_base< T > &  vec) const
inline

◆ operator*() [1/2]

template<typename T >
vector3_base vector3_base< T >::operator* ( const T  rhs) const
inline

◆ operator*() [2/2]

template<typename T >
vector3_base vector3_base< T >::operator* ( const vector3_base< T > &  vec) const
inline

◆ operator*=() [1/2]

template<typename T >
const vector3_base & vector3_base< T >::operator*= ( const T  rhs)
inline

◆ operator*=() [2/2]

template<typename T >
const vector3_base & vector3_base< T >::operator*= ( const vector3_base< T > &  vec)
inline

◆ operator+()

template<typename T >
vector3_base vector3_base< T >::operator+ ( const vector3_base< T > &  vec) const
inline

◆ operator+=()

template<typename T >
const vector3_base & vector3_base< T >::operator+= ( const vector3_base< T > &  vec)
inline

◆ operator-() [1/2]

template<typename T >
vector3_base vector3_base< T >::operator- ( ) const
inline

◆ operator-() [2/2]

template<typename T >
vector3_base vector3_base< T >::operator- ( const vector3_base< T > &  vec) const
inline

◆ operator-=()

template<typename T >
const vector3_base & vector3_base< T >::operator-= ( const vector3_base< T > &  vec)
inline

◆ operator/() [1/2]

template<typename T >
vector3_base vector3_base< T >::operator/ ( const T  rhs) const
inline

◆ operator/() [2/2]

template<typename T >
vector3_base vector3_base< T >::operator/ ( const vector3_base< T > &  vec) const
inline

◆ operator/=() [1/2]

template<typename T >
const vector3_base & vector3_base< T >::operator/= ( const T  rhs)
inline

◆ operator/=() [2/2]

template<typename T >
const vector3_base & vector3_base< T >::operator/= ( const vector3_base< T > &  vec)
inline

◆ operator==()

template<typename T >
bool vector3_base< T >::operator== ( const vector3_base< T > &  vec) const
inline

Member Data Documentation

◆ 

union { ... } vector3_base< T >::@18

◆ 

union { ... } vector3_base< T >::@20

◆ 

union { ... } vector3_base< T >::@22

◆ b

template<typename T >
T vector3_base< T >::b

◆ g

template<typename T >
T vector3_base< T >::g

◆ h

template<typename T >
T vector3_base< T >::h

◆ l

template<typename T >
T vector3_base< T >::l

◆ r

template<typename T >
T vector3_base< T >::r

◆ s

template<typename T >
T vector3_base< T >::s

◆ u

template<typename T >
T vector3_base< T >::u

◆ v

template<typename T >
T vector3_base< T >::v

◆ w

template<typename T >
T vector3_base< T >::w

◆ x

template<typename T >
T vector3_base< T >::x

◆ y

template<typename T >
T vector3_base< T >::y

◆ z

template<typename T >
T vector3_base< T >::z

The documentation for this class was generated from the following file: