|
enum | { dims = 1
} |
|
typedef T | scalar_t |
|
|
__both__ | vec_t (const T &v) |
|
__both__ vec_t< T, 1 > & | operator= (const vec_t< T, 1 > &other) |
|
template<typename OT > |
__both__ | vec_t (const vec_t< OT, 1 > &o) |
|
__both__ T & | operator[] (size_t dim) |
|
__both__ const T & | operator[] (size_t dim) const |
|
|
union owl::common::vec_t< T, 1 >:: { ... } | |
|
T | v |
|
T | x |
| just to allow all vec types to use x,y,z,w,...
|
|
◆ 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