0.9.8
extend.hpp
Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_GTX_extend extension included")
20 #endif
21 
22 namespace glm
23 {
26 
29  template <typename genType>
30  GLM_FUNC_DECL genType extend(
31  genType const & Origin,
32  genType const & Source,
33  typename genType::value_type const Length);
34 
36 }//namespace glm
37 
38 #include "extend.inl"
Definition: _noise.hpp:11
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.