0.9.6
extend.hpp
Go to the documentation of this file.
1 
42 #pragma once
43 
44 // Dependency:
45 #include "../glm.hpp"
46 
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTX_extend extension included")
49 #endif
50 
51 namespace glm
52 {
55 
58  template <typename genType>
59  GLM_FUNC_DECL genType extend(
60  genType const & Origin,
61  genType const & Source,
62  typename genType::value_type const Length);
63 
65 }//namespace glm
66 
67 #include "extend.inl"
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.
Definition: _noise.hpp:39