nngn
|
#include <vec3.h>
Public Member Functions | |
constexpr | vec3_base ()=default |
constexpr | vec3_base (T v) |
constexpr | vec3_base (T p_x, T p_y) |
constexpr | vec3_base (T p_x, T p_y, T p_z) |
constexpr | vec3_base (const vec2_base< T > &v) |
constexpr | vec3_base (const vec2_base< T > &v, T p_z) |
constexpr | vec3_base (T p_x, const vec2_base< T > &v) |
constexpr vec2_base< T > | xx () const |
constexpr vec2_base< T > | xy () const |
constexpr vec2_base< T > | xz () const |
constexpr vec2_base< T > | yx () const |
constexpr vec2_base< T > | yy () const |
constexpr vec2_base< T > | yz () const |
constexpr vec2_base< T > | zx () const |
constexpr vec2_base< T > | zy () const |
constexpr vec2_base< T > | zz () const |
constexpr vec3_base< T > | xxx () const |
constexpr vec3_base< T > | xxy () const |
constexpr vec3_base< T > | xxz () const |
constexpr vec3_base< T > | xyx () const |
constexpr vec3_base< T > | xyy () const |
constexpr vec3_base< T > | xyz () const |
constexpr vec3_base< T > | xzx () const |
constexpr vec3_base< T > | xzy () const |
constexpr vec3_base< T > | xzz () const |
constexpr vec3_base< T > | yxx () const |
constexpr vec3_base< T > | yxy () const |
constexpr vec3_base< T > | yxz () const |
constexpr vec3_base< T > | yyx () const |
constexpr vec3_base< T > | yyy () const |
constexpr vec3_base< T > | yyz () const |
constexpr vec3_base< T > | yzx () const |
constexpr vec3_base< T > | yzy () const |
constexpr vec3_base< T > | yzz () const |
constexpr vec3_base< T > | zxx () const |
constexpr vec3_base< T > | zxy () const |
constexpr vec3_base< T > | zxz () const |
constexpr vec3_base< T > | zyx () const |
constexpr vec3_base< T > | zyy () const |
constexpr vec3_base< T > | zyz () const |
constexpr vec3_base< T > | zzx () const |
constexpr vec3_base< T > | zzy () const |
constexpr vec3_base< T > | zzz () const |
Public Member Functions inherited from nngn::vec< vec3_base, T, 3 > | |
constexpr | operator vec3_base< U > (void) const |
constexpr vec & | operator= (const vec3_base< T > &v) |
constexpr T & | operator[] (std::size_t i) |
constexpr const T & | operator[] (std::size_t i) const |
constexpr vec3_base< T > | operator- (void) const |
constexpr vec3_base< T > & | operator+= (T t) |
constexpr vec3_base< T > & | operator+= (const vec3_base< T > &v) |
constexpr vec3_base< T > & | operator-= (T t) |
constexpr vec3_base< T > & | operator-= (const vec3_base< T > &v) |
constexpr vec3_base< T > & | operator*= (T t) |
constexpr vec3_base< T > & | operator*= (const vec3_base< T > &v) |
constexpr vec3_base< T > & | operator/= (T t) |
constexpr vec3_base< T > & | operator/= (const vec3_base< T > &v) |
constexpr T & | get (void) |
constexpr const T & | get (void) const |
constexpr T * | data (void) |
constexpr const T * | data (void) const |
constexpr auto | as_tuple (void) const |
Public Attributes | |
T | x |
T | y |
T | z |
Additional Inherited Members | |
Public Types inherited from nngn::vec< vec3_base, T, 3 > | |
using | type |
Static Public Member Functions inherited from nngn::vec< vec3_base, T, 3 > | |
static constexpr vec3_base< R > | map (F f, Args &&...args) |
static constexpr vec3_base< R > | map_impl (F f, std::index_sequence< I... >, const vec &v) |
static constexpr vec3_base< R > | map_impl (F f, std::index_sequence< I... >, T t, const vec &v0) |
static constexpr vec3_base< R > | map_impl (F f, std::index_sequence< I... >, const vec &v0, T t) |
static constexpr vec3_base< R > | map_impl (F f, std::index_sequence< I... >, const vec &v0, const vec &v1) |
Static Public Attributes inherited from nngn::vec< vec3_base, T, 3 > | |
static constexpr std::size_t | n_dim |
|
constexprdefault |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
T nngn::vec3_base< T >::x |
T nngn::vec3_base< T >::y |
T nngn::vec3_base< T >::z |