|
| enum | { dims = 2
} |
| |
|
typedef T | scalar_t |
| |
|
|
__both__ | vec_t (const T &t) |
| |
|
__both__ | vec_t (const T &x, const T &y) |
| |
| __both__ vec_t< T, 2 > & | operator= (const vec_t< T, 2 > &other) |
| |
| template<typename OT > |
| __both__ | vec_t (const vec_t< OT, 2 > &o) |
| |
|
__both__ T & | operator[] (size_t dim) |
| |
|
__both__ const T & | operator[] (size_t dim) const |
| |
◆ vec_t()
template<typename T >
template<typename OT >
construct 2-vector from 2-vector of another type
◆ operator=()
The documentation for this struct was generated from the following file:
- owl/include/owl/common/math/vec.h