Castor3D 0.16.0
Multiplatform 3D engine
Static Public Member Functions | List of all members
castor::PtOperators< T1, T2, C1, C2 > Struct Template Reference

Point operators. More...

#include <PointOperators.hpp>

Static Public Member Functions

template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > add (PtType1 const &lhs, T2 const &rhs)
 
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > sub (PtType1 const &lhs, T2 const &rhs)
 
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > mul (PtType1 const &lhs, T2 const &rhs)
 
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > div (PtType1 const &lhs, T2 const &rhs)
 
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > add (PtType1 const &lhs, T2 const *rhs)
 
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > sub (PtType1 const &lhs, T2 const *rhs)
 
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > mul (PtType1 const &lhs, T2 const *rhs)
 
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > div (PtType1 const &lhs, T2 const *rhs)
 
template<typename PtType1 , typename PtType2 >
static Point< std::remove_cv_t< T1 >, C1 > add (PtType1 const &lhs, PtType2 const &rhs)
 
template<typename PtType1 , typename PtType2 >
static Point< std::remove_cv_t< T1 >, C1 > sub (PtType1 const &lhs, PtType2 const &rhs)
 
template<typename PtType1 , typename PtType2 >
static Point< std::remove_cv_t< T1 >, C1 > mul (PtType1 const &lhs, PtType2 const &rhs)
 
template<typename PtType1 , typename PtType2 >
static Point< std::remove_cv_t< T1 >, C1 > div (PtType1 const &lhs, PtType2 const &rhs)
 

Detailed Description

template<typename T1, typename T2, uint32_t C1, uint32_t C2>
struct castor::PtOperators< T1, T2, C1, C2 >

Point operators.

Member Function Documentation

◆ add() [1/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 , typename PtType2 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::add ( PtType1 const & lhs,
PtType2 const & rhs )
static

◆ add() [2/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::add ( PtType1 const & lhs,
T2 const & rhs )
static

◆ add() [3/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::add ( PtType1 const & lhs,
T2 const * rhs )
static

◆ div() [1/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 , typename PtType2 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::div ( PtType1 const & lhs,
PtType2 const & rhs )
static

◆ div() [2/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::div ( PtType1 const & lhs,
T2 const & rhs )
static

◆ div() [3/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::div ( PtType1 const & lhs,
T2 const * rhs )
static

◆ mul() [1/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 , typename PtType2 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::mul ( PtType1 const & lhs,
PtType2 const & rhs )
static

◆ mul() [2/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::mul ( PtType1 const & lhs,
T2 const & rhs )
static

◆ mul() [3/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::mul ( PtType1 const & lhs,
T2 const * rhs )
static

◆ sub() [1/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 , typename PtType2 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::sub ( PtType1 const & lhs,
PtType2 const & rhs )
static

◆ sub() [2/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::sub ( PtType1 const & lhs,
T2 const & rhs )
static

◆ sub() [3/3]

template<typename T1 , typename T2 , uint32_t C1, uint32_t C2>
template<typename PtType1 >
static Point< std::remove_cv_t< T1 >, C1 > castor::PtOperators< T1, T2, C1, C2 >::sub ( PtType1 const & lhs,
T2 const * rhs )
static

The documentation for this struct was generated from the following files: