OWL
OptiX7 Wrapper Library
|
Go to the source code of this file.
Namespaces | |
owl | |
owl::common | |
Functions | |
template<typename T > | |
__both__ bool | owl::common::operator== (const vec_t< T, 2 > &a, const vec_t< T, 2 > &b) |
template<typename T > | |
__both__ bool | owl::common::operator== (const vec_t< T, 3 > &a, const vec_t< T, 3 > &b) |
template<typename T > | |
__both__ bool | owl::common::operator== (const vec_t< T, 4 > &a, const vec_t< T, 4 > &b) |
template<typename T , int N> | |
__both__ bool | owl::common::operator!= (const vec_t< T, N > &a, const vec_t< T, N > &b) |
template<typename T > | |
__both__ auto | owl::common::nt (const vec_t< T, 2 > &a) -> vec_t< decltype(!a.x), 2 > |
template<typename T > | |
__both__ auto | owl::common::nt (const vec_t< T, 3 > &a) -> vec_t< decltype(!a.x), 3 > |
template<typename T > | |
__both__ auto | owl::common::nt (const vec_t< T, 4 > &a) -> vec_t< decltype(!a.x), 4 > |
template<typename T > | |
__both__ auto | owl::common::eq (const vec_t< T, 2 > &a, const vec_t< T, 2 > &b) -> vec_t< decltype(a.x==b.x), 2 > |
template<typename T > | |
__both__ auto | owl::common::eq (const vec_t< T, 3 > &a, const vec_t< T, 3 > &b) -> vec_t< decltype(a.x==b.x), 3 > |
template<typename T > | |
__both__ auto | owl::common::eq (const vec_t< T, 4 > &a, const vec_t< T, 4 > &b) -> vec_t< decltype(a.x==b.x), 4 > |
template<typename T , int N> | |
__both__ auto | owl::common::neq (const vec_t< T, N > &a, const vec_t< T, N > &b) -> decltype(nt(eq(a, b))) |
template<typename T > | |
__both__ auto | owl::common::lt (const vec_t< T, 2 > &a, const vec_t< T, 2 > &b) -> vec_t< decltype(a.x< b.x), 2 > |
template<typename T > | |
__both__ auto | owl::common::lt (const vec_t< T, 3 > &a, const vec_t< T, 3 > &b) -> vec_t< decltype(a.x< b.x), 3 > |
template<typename T > | |
__both__ auto | owl::common::lt (const vec_t< T, 4 > &a, const vec_t< T, 4 > &b) -> vec_t< decltype(a.x< b.x), 4 > |
template<typename T , int N> | |
__both__ auto | owl::common::le (const vec_t< T, N > &a, const vec_t< T, N > &b) -> decltype(nt(lt(b, a))) |
template<typename T , int N> | |
__both__ auto | owl::common::gt (const vec_t< T, N > &a, const vec_t< T, N > &b) -> decltype(lt(b, a)) |
template<typename T , int N> | |
__both__ auto | owl::common::ge (const vec_t< T, N > &a, const vec_t< T, N > &b) -> decltype(nt(lt(a, b))) |
template<typename T , int N> | |
__both__ bool | owl::common::any (const vec_t< T, N > &a) |
template<typename T , int N> | |
__both__ bool | owl::common::all (const vec_t< T, N > &a) |
template<typename T > | |
__both__ vec_t< T, 2 > | owl::common::select (const vec_t< bool, 2 > &mask, const vec_t< T, 2 > &a, const vec_t< T, 2 > &b) |
template<typename T > | |
__both__ vec_t< T, 3 > | owl::common::select (const vec_t< bool, 3 > &mask, const vec_t< T, 3 > &a, const vec_t< T, 3 > &b) |
template<typename T > | |
__both__ vec_t< T, 4 > | owl::common::select (const vec_t< bool, 4 > &mask, const vec_t< T, 4 > &a, const vec_t< T, 4 > &b) |
template<typename T , int N> | |
__both__ vec_t< T, N > | owl::common::select (const vec_t< bool, N > &mask, const vec_t< T, N > &a, const vec_t< T, N > &b) |