structure for 4-dimensional real type vector and its arithmetic.
More...
#include <vec.h>
Definition at line 864 of file vec.h.
◆ vec4() [1/5]
◆ vec4() [2/5]
graphics::vec4::vec4 |
( |
real |
a | ) |
|
|
inline |
◆ vec4() [3/5]
◆ vec4() [4/5]
graphics::vec4::vec4 |
( |
const ivec4 & |
a | ) |
|
|
inline |
◆ vec4() [5/5]
graphics::vec4::vec4 |
( |
const vec4 & |
a | ) |
|
|
inline |
◆ is_tiny()
bool graphics::vec4::is_tiny |
( |
real |
tiny_tol = epsilon | ) |
const |
|
inline |
◆ is_zero()
bool graphics::vec4::is_zero |
( |
| ) |
const |
|
inline |
◆ length()
real graphics::vec4::length |
( |
| ) |
const |
◆ operator()() [1/2]
real& graphics::vec4::operator() |
( |
int |
i | ) |
|
|
inline |
◆ operator()() [2/2]
const real& graphics::vec4::operator() |
( |
int |
i | ) |
const |
|
inline |
◆ operator=()
vec4& graphics::vec4::operator= |
( |
const vec4 & |
a | ) |
|
|
inline |
◆ operator[]() [1/2]
real& graphics::vec4::operator[] |
( |
int |
i | ) |
|
|
inline |
◆ operator[]() [2/2]
const real& graphics::vec4::operator[] |
( |
int |
i | ) |
const |
|
inline |
◆ unit()
bool graphics::vec4::unit |
( |
| ) |
|
const int graphics::vec4::n = 4 |
|
static |
real graphics::vec4::v[4] |
The documentation for this struct was generated from the following files: