|
enum | { dims = 3
} |
|
typedef T | scalar_t |
|
|
| vec_t (const vec_t &)=default |
|
__both__ | vec_t (const T &t) |
|
__both__ | vec_t (const T &_x, const T &_y, const T &_z) |
|
__both__ | vec_t (const vec_t< T, 4 > &v) |
|
template<typename OT > |
__both__ | vec_t (const vec_t< OT, 3 > &o) |
|
__both__ vec_t< T, 3 > | yzx () const |
|
__both__ vec_t< T, 3 > & | operator= (const vec_t< T, 3 > &other) |
|
__both__ T & | operator[] (size_t dim) |
|
__both__ const T & | operator[] (size_t dim) const |
|
|
template<typename OT , typename Lambda > |
static __both__ vec_t< T, 3 > | make_from (const vec_t< OT, 3 > &v, const Lambda &lambda) |
|
◆ vec_t()
template<typename T >
template<typename OT >
construct 3-vector from 3-vector of another type
◆ operator=()
◆ yzx()
The documentation for this struct was generated from the following file:
- owl/include/owl/common/math/vec.h