Template Class Vec4

Class Documentation

template<class T>
class Vec4

Public Functions

inline Vec4()
inline Vec4(T xVal, T yVal, T zVal)
inline Vec4(T xVal, T yVal, T zVal, T vVal)
inline Vec4(const Vec4 &other)
void operator()(T xVal, T yVal, T zVal)
void operator()(T xVal, T yVal, T zVal, T vVal)
void operator=(const Vec4 &other)
Vec4<T> operator-(const Vec4 &other)
Vec4<T> operator+(const Vec4 &other)
Vec4<T> operator*(const T val)
Vec4<T> operator/(const T val)
bool operator<(const Vec4 &other)
Vec4<T> cross(const Vec4 &other)
T dot(const Vec4 &other)
Vec4<T> norm()
T magnitude()
std::string toString()
std::string print()
operator Vec3<T>()

Public Members

T x
T y
T z
T v