liballofw
|
#include <vector.h>
Public Types | |
typedef T | number_t |
Public Member Functions | |
Vector4_ ()=default | |
template<typename number_from_t > | |
Vector4_ (const Vector2_< number_from_t > &v) | |
template<typename number_from_t > | |
Vector4_ (const Vector3_< number_from_t > &v) | |
template<typename number_from_t > | |
Vector4_ (const Vector4_< number_from_t > &v) | |
Vector4_ (number_t v) | |
Vector4_ (number_t x_, number_t y_, number_t z_, number_t w_) | |
template<typename OtherT > | |
Vector4_ (const OtherT &other) | |
Vector4_ & | operator+= (const Vector4_ &v) |
Vector4_ & | operator-= (const Vector4_ &v) |
Vector4_ & | operator*= (number_t s) |
Vector4_ & | operator/= (number_t s) |
Vector4_ | operator+ (const Vector4_ &v) const |
Vector4_ | operator- (const Vector4_ &v) const |
Vector4_ | operator- () const |
Vector4_ | operator* (number_t s) const |
Vector4_ | operator/ (number_t s) const |
number_t | dot (const Vector4_ &v) const |
number_t | len2 () const |
number_t | len () const |
Vector4_ | unit () const |
Vector2_< number_t > | xy () const |
Vector3_< number_t > | xyz () const |
number_t * | data () |
const number_t * | data () const |
int | shape () const |
Static Public Member Functions | |
static Vector4_ | NaN () |
Public Attributes | |
number_t | x |
number_t | y |
number_t | z |
number_t | w |
Static Public Attributes | |
static const size_t | size = 4 |
Friends | |
Vector4_ | operator* (number_t s, const Vector4_ &v) |
typedef T allofw::Vector4_< T >::number_t |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
number_t allofw::Vector4_< T >::w |
number_t allofw::Vector4_< T >::x |
number_t allofw::Vector4_< T >::y |
number_t allofw::Vector4_< T >::z |