0.9.6
Main Page
Modules
Files
File List
E:
Source
G-Truc
glm
glm
gtx
extend.hpp
Go to the documentation of this file.
1
38
#pragma once
39
40
// Dependency:
41
#include "../glm.hpp"
42
43
#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
44
# pragma message("GLM: GLM_GTX_extend extension included")
45
#endif
46
47
namespace
glm
48
{
51
54
template
<
typename
genType>
55
GLM_FUNC_DECL genType
extend
(
56
genType
const
& Origin,
57
genType
const
& Source,
58
typename
genType::value_type
const
Length);
59
61
}
//namespace glm
62
63
#include "extend.inl"
glm
Definition:
_noise.hpp:31
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.8