Flow Visualisation

Extend a position from a source to a position at a defined length. More...

Collaboration diagram for GLM_GTX_extend:

Functions

template<typename genType >
genType glm::extend (genType const &Origin, genType const &Source, typename genType::value_type const Length)
 

Detailed Description

Extend a position from a source to a position at a defined length.

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

Function Documentation

template<typename genType >
genType glm::extend ( genType const &  Origin,
genType const &  Source,
typename genType::value_type const  Length 
)

Extends of Length the Origin position using the (Source - Origin) direction.

See also
GLM_GTX_extend