GLM
0.9.5
Main Page
Related Pages
Modules
Namespaces
Files
File List
Users
Groove
Documents
GitHub
glm
glm
gtx
extend.hpp
Go to the documentation of this file.
1
38
#ifndef GLM_GTX_extend
39
#define GLM_GTX_extend
40
41
// Dependency:
42
#include "../glm.hpp"
43
44
#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45
# pragma message("GLM: GLM_GTX_extend extension included")
46
#endif
47
48
namespace
glm
49
{
52
55
template
<
typename
genType>
56
GLM_FUNC_DECL genType
extend
(
57
genType
const
& Origin,
58
genType
const
& Source,
59
typename
genType::value_type
const
Length);
60
62
}
//namespace glm
63
64
#include "extend.inl"
65
66
#endif//GLM_GTX_extend
glm::extend
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.
Generated by
1.8.5