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