summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/extend.inl
diff options
context:
space:
mode:
Diffstat (limited to 'external/include/glm/gtx/extend.inl')
-rw-r--r--external/include/glm/gtx/extend.inl38
1 files changed, 19 insertions, 19 deletions
diff --git a/external/include/glm/gtx/extend.inl b/external/include/glm/gtx/extend.inl
index 3155583..9371ee6 100644
--- a/external/include/glm/gtx/extend.inl
+++ b/external/include/glm/gtx/extend.inl
@@ -3,45 +3,45 @@
namespace glm
{
- template <typename genType>
+ template<typename genType>
GLM_FUNC_QUALIFIER genType extend
(
- genType const & Origin,
- genType const & Source,
- genType const & Distance
+ genType const& Origin,
+ genType const& Source,
+ genType const& Distance
)
{
return Origin + (Source - Origin) * Distance;
}
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tvec2<T, P> extend
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER vec<2, T, Q> extend
(
- tvec2<T, P> const & Origin,
- tvec2<T, P> const & Source,
- T const & Distance
+ vec<2, T, Q> const& Origin,
+ vec<2, T, Q> const& Source,
+ T const& Distance
)
{
return Origin + (Source - Origin) * Distance;
}
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tvec3<T, P> extend
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER vec<3, T, Q> extend
(
- tvec3<T, P> const & Origin,
- tvec3<T, P> const & Source,
- T const & Distance
+ vec<3, T, Q> const& Origin,
+ vec<3, T, Q> const& Source,
+ T const& Distance
)
{
return Origin + (Source - Origin) * Distance;
}
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER tvec4<T, P> extend
+ template<typename T, qualifier Q>
+ GLM_FUNC_QUALIFIER vec<4, T, Q> extend
(
- tvec4<T, P> const & Origin,
- tvec4<T, P> const & Source,
- T const & Distance
+ vec<4, T, Q> const& Origin,
+ vec<4, T, Q> const& Source,
+ T const& Distance
)
{
return Origin + (Source - Origin) * Distance;