nux-0.9.48
|
#include <NuxCore/Math/Vector4.h>
Public Member Functions | |
Vec4 () | |
~Vec4 () | |
Vec4 (const T &, const T &, const T &, const T &) | |
Vec4 (const Vec4< T > &) | |
Vec4< T > & | operator= (const Vec4< T > &) |
t_bool | operator== (const Vec4< T > &) const |
t_bool | operator!= (const Vec4< T > &) const |
Vec4< T > | operator+ (const Vec4< T > &) const |
Vec4< T > | operator* (const Vec4< T > &) const |
Vec4< T > | operator- (const Vec4< T > &) const |
Vec4< T > | operator- () const |
Vec4< T > & | operator*= (const Vec4< T > &) |
Vec4< T > & | operator+= (const Vec4< T > &) |
Vec4< T > & | operator-= (const Vec4< T > &) |
Vec4< T > | operator/ (const T &) const |
Vec4< T > | operator* (const T &) const |
Vec4< T > & | operator/= (const T &) |
Vec4< T > & | operator*= (const T &) |
T & | operator[] (int i) |
element access | |
const T & | operator[] (int i) const |
element access (const) | |
void | divide_xyz_by_w () |
Data Fields | |
T | x |
T | y |
T | z |
T | w |
Friends | |
template<typename U > | |
Vec4< U > | operator* (const U &, const Vec4< U > &) |
nux::Vec4< T >::Vec4 | ( | const T & | fx, |
const T & | fy, | ||
const T & | fz, | ||
const T & | fw | ||
) | [inline] |
References nux::Vec4< T >::w, nux::Vec4< T >::x, nux::Vec4< T >::y, and nux::Vec4< T >::z.
void nux::Vec4< T >::divide_xyz_by_w | ( | ) |
References nux::Vec4< T >::w, nux::Vec4< T >::x, nux::Vec4< T >::y, and nux::Vec4< T >::z.
References nux::Vec4< T >::w, nux::Vec4< T >::x, nux::Vec4< T >::y, and nux::Vec4< T >::z.
References nux::Vec4< T >::w, nux::Vec4< T >::x, nux::Vec4< T >::y, and nux::Vec4< T >::z.
References nux::Vec4< T >::w, nux::Vec4< T >::x, nux::Vec4< T >::y, and nux::Vec4< T >::z.
References nux::Vec4< T >::w, nux::Vec4< T >::x, nux::Vec4< T >::y, and nux::Vec4< T >::z.
References nux::Vec4< T >::w, nux::Vec4< T >::x, nux::Vec4< T >::y, and nux::Vec4< T >::z.
References nux::Vec4< T >::w, nux::Vec4< T >::x, nux::Vec4< T >::y, and nux::Vec4< T >::z.
References nux::Vec4< T >::w, nux::Vec4< T >::x, nux::Vec4< T >::y, and nux::Vec4< T >::z.
const T & nux::Vec4< T >::operator[] | ( | int | i | ) | const [inline] |
element access (const)
T & nux::Vec4< T >::operator[] | ( | int | i | ) | [inline] |
element access
Vec4<U> operator* | ( | const U & | f, |
const Vec4< U > & | v | ||
) | [friend] |
Referenced by nux::operator*(), nux::Vec4< T >::operator*(), nux::Matrix4x4< T >::operator*(), nux::Vec4< T >::operator*=(), nux::Vec4< T >::operator+(), nux::Vec4< T >::operator+=(), nux::Vec4< T >::operator-(), nux::Vec4< T >::operator-=(), nux::Vec4< T >::operator=(), nux::Vec4< T >::operator==(), and nux::Vec4< T >::Vec4().
Referenced by nux::operator*(), nux::Vec4< T >::operator*(), nux::Matrix4x4< T >::operator*(), nux::Vec4< T >::operator*=(), nux::Vec4< T >::operator+(), nux::Vec4< T >::operator+=(), nux::Vec4< T >::operator-(), nux::Vec4< T >::operator-=(), nux::Vec4< T >::operator=(), nux::Vec3< T >::operator=(), nux::Vec2< T >::operator=(), nux::Vec4< T >::operator==(), and nux::Vec4< T >::Vec4().
Referenced by nux::operator*(), nux::Vec4< T >::operator*(), nux::Matrix4x4< T >::operator*(), nux::Vec4< T >::operator*=(), nux::Vec4< T >::operator+(), nux::Vec4< T >::operator+=(), nux::Vec4< T >::operator-(), nux::Vec4< T >::operator-=(), nux::Vec4< T >::operator=(), nux::Vec3< T >::operator=(), nux::Vec2< T >::operator=(), nux::Vec4< T >::operator==(), and nux::Vec4< T >::Vec4().
Referenced by nux::operator*(), nux::Vec4< T >::operator*(), nux::Matrix4x4< T >::operator*(), nux::Vec4< T >::operator*=(), nux::Vec4< T >::operator+(), nux::Vec4< T >::operator+=(), nux::Vec4< T >::operator-(), nux::Vec4< T >::operator-=(), nux::Vec4< T >::operator=(), nux::Vec3< T >::operator=(), nux::Vec4< T >::operator==(), and nux::Vec4< T >::Vec4().