NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::math::functor::Operator_minus Struct Reference

Functor for the minus operator, -, unary and binary. More...

Public Member Functions

template<typename T >
operator() (const T &t) const
  Unary functor call. More...
 
template<typename T >
operator() (const T &t1, const T &t2) const
  Binary functor call. More...
 

Detailed Description

Functor for the minus operator, -, unary and binary.

Member Function Documentation

template<typename T >
T mi::math::functor::Operator_minus::operator() ( const T &  t) const
inline

Unary functor call.

template<typename T >
T mi::math::functor::Operator_minus::operator() ( const T &  t1,
const T &  t2 
) const
inline

Binary functor call.