#include <vec4.hh>
Public Member Functions | |
| Vec4 () | |
| Vec4 (Real x, Real y, Real z, Real w) | |
| Vec4 (const Vec4 &v) | |
| Vec4 (const Vec2 &v) | |
| Vec4 (const Vec3 &v) | |
| Vec4 (const Real[4]) | |
| Vec4 & | operator= (const Vec4 &v) |
| bool | operator== (const Vec4 &rhs) const |
| Real & | operator[] (std::size_t indx) |
| const Real & | operator[] (std::size_t indx) const |
| Vec4 & | operator+= (const Vec4 &rhs) |
| Vec4 & | operator+= (Real d) |
| Vec4 & | operator-= (const Vec4 &rhs) |
| Vec4 & | operator-= (Real d) |
| Vec4 | operator- () const |
| Vec4 & | operator*= (Real d) |
| Vec4 & | operator/= (Real d) |
| Real * | Data () |
| const Real * | Data () const |
Definition at line 40 of file vec4.hh.
| Vec4 | ( | ) |
Default initialization, all components are set to zero.
| Vec4 | ( | const | Real[4] | ) | [explicit] |
explicit initialization with an array of doubles
| Vec4 operator- | ( | ) | const |
negateable
| bool operator== | ( | const Vec4 & | rhs | ) | const |
comparable
| const Real& operator[] | ( | std::size_t | indx | ) | const |
const element access
| Real& operator[] | ( | std::size_t | indx | ) |
element access
1.5.8