Flow Visualisation
GLM_GTX_verbose_operator

Use words to replace operators. More...

Collaboration diagram for GLM_GTX_verbose_operator:

Functions

template<typename genTypeT , typename genTypeU >
genTypeT glm::add (genTypeT const &a, genTypeU const &b)
 
template<typename genTypeT , typename genTypeU >
genTypeT glm::sub (genTypeT const &a, genTypeU const &b)
 
template<typename genTypeT , typename genTypeU >
genTypeT glm::mul (genTypeT const &a, genTypeU const &b)
 
template<typename genTypeT , typename genTypeU >
genTypeT glm::div (genTypeT const &a, genTypeU const &b)
 
template<typename genTypeT , typename genTypeU , typename genTypeV >
genTypeT glm::mad (genTypeT const &a, genTypeU const &b, genTypeV const &c)
 

Detailed Description

Use words to replace operators.

<glm/gtx/verbose_operator.hpp> need to be included to use these functionalities.

Function Documentation

template<typename genTypeT , typename genTypeU >
genTypeT glm::add ( genTypeT const &  a,
genTypeU const &  b 
)

Addition of two values From GLM_GTX_verbose_operator extension.

template<typename genTypeT , typename genTypeU >
genTypeT glm::div ( genTypeT const &  a,
genTypeU const &  b 
)

Division of two values From GLM_GTX_verbose_operator extension.

template<typename genTypeT , typename genTypeU , typename genTypeV >
genTypeT glm::mad ( genTypeT const &  a,
genTypeU const &  b,
genTypeV const &  c 
)

Multiplication and addition of three values From GLM_GTX_verbose_operator extension.

template<typename genTypeT , typename genTypeU >
genTypeT glm::mul ( genTypeT const &  a,
genTypeU const &  b 
)

Multiplication of two values From GLM_GTX_verbose_operator extension.

template<typename genTypeT , typename genTypeU >
genTypeT glm::sub ( genTypeT const &  a,
genTypeU const &  b 
)

Substration of two values From GLM_GTX_verbose_operator extension.