|
template<typename T , int N> |
__both__ bool | owl::common::any_less_than (const vec_t< T, N > &a, const vec_t< T, N > &b) |
|
template<typename T , int N> |
__both__ bool | owl::common::all_less_than (const vec_t< T, N > &a, const vec_t< T, N > &b) |
|
template<typename T , int N> |
__both__ bool | owl::common::any_greater_than (const vec_t< T, N > &a, const vec_t< T, N > &b) |
|
template<typename T , int N> |
__both__ bool | owl::common::any_greater_or_equal (const vec_t< T, N > &a, const vec_t< T, N > &b) |
|
template<typename T > |
__both__ T | owl::common::clamp (const T &val, const T &lo, const T &hi) |
|
template<typename T > |
__both__ T | owl::common::clamp (const T &val, const T &hi) |
|
| owl::common::_define_float_functor (rcp) _define_float_functor(sin) _define_float_functor(cos) _define_float_functor(abs) _define_float_functor(saturate) _define_binary_functor(divRoundUp) _define_binary_functor(min) _define_binary_functor(max) _define_operator(*) |
|
| owl::common::_define_operator (/) |
|
| owl::common::_define_operator (+) |
|
| owl::common::_define_operator (-) |
|
template<typename T > |
__both__ vec_t< T, 2 > | owl::common::operator- (const vec_t< T, 2 > &v) |
|
template<typename T > |
__both__ vec_t< T, 2 > | owl::common::operator+ (const vec_t< T, 2 > &v) |
|
template<typename T > |
__both__ vec_t< T, 3 > | owl::common::operator- (const vec_t< T, 3 > &v) |
|
template<typename T > |
__both__ vec_t< T, 3 > | owl::common::operator+ (const vec_t< T, 3 > &v) |
|
| owl::common::_define_op_assign_operator (operator*=, *=) |
|
| owl::common::_define_op_assign_operator (operator/=,/=) |
|
| owl::common::_define_op_assign_operator (operator+=,+=) |
|
| owl::common::_define_op_assign_operator (operator-=,-=) |
|
template<typename T > |
__both__ T | owl::common::reduce_min (const vec_t< T, 1 > &v) |
|
template<typename T > |
__both__ T | owl::common::reduce_min (const vec_t< T, 2 > &v) |
|
template<typename T > |
__both__ T | owl::common::reduce_min (const vec_t< T, 3 > &v) |
|
template<typename T > |
__both__ T | owl::common::reduce_min (const vec_t< T, 4 > &v) |
|
template<typename T > |
__both__ T | owl::common::reduce_max (const vec_t< T, 2 > &v) |
|
template<typename T > |
__both__ T | owl::common::reduce_max (const vec_t< T, 3 > &v) |
|
template<typename T > |
__both__ T | owl::common::reduce_max (const vec_t< T, 4 > &v) |
|
template<typename T , int N> |
__both__ vec_t< T, 3 > | owl::common::madd (const vec_t< T, N > &a, const vec_t< T, N > &b, const vec_t< T, N > &c) |
|
template<typename T , int N> |
__both__ int | owl::common::arg_max (const vec_t< T, N > &v) |
|
template<typename T , int N> |
__both__ int | owl::common::arg_min (const vec_t< T, N > &v) |
|
template<typename T > |
__both__ bool | owl::common::operator< (const vec_t< T, 3 > &a, const vec_t< T, 3 > &b) |
|
__both__ vec3f | owl::common::randomColor (int i) |
|
__both__ vec3f | owl::common::randomColor (size_t idx) |
|
template<typename T > |
__both__ vec3f | owl::common::randomColor (const T *ptr) |
|
__both__ float | owl::common::sqrt (const float v) |
|
__both__ vec2f | owl::common::sqrt (const vec2f v) |
|
__both__ vec3f | owl::common::sqrt (const vec3f v) |
|
__both__ vec4f | owl::common::sqrt (const vec4f v) |
|