|
0.9.9 API documenation
|
Extend a position from a source to a position at a defined length. More...
Functions | |
| template<typename genType > | |
| GLM_FUNC_DECL genType | extend (genType const &Origin, genType const &Source, typename genType::value_type const Length) |
| Extends of Length the Origin position using the (Source - Origin) direction. More... | |
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.
| GLM_FUNC_DECL 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.
1.8.10