mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Merge pull request #1033 from gottfriedleibniz/patch-fastnormalize
fix: fastNormalize ambiguity #1033
This commit is contained in:
commit
2c36db9cf7
@ -84,7 +84,13 @@ namespace glm
|
||||
///
|
||||
/// @see gtx_fast_square_root extension.
|
||||
template<typename genType>
|
||||
GLM_FUNC_DECL genType fastNormalize(genType const& x);
|
||||
GLM_FUNC_DECL genType fastNormalize(genType x);
|
||||
|
||||
/// Faster than the common normalize function but less accurate.
|
||||
///
|
||||
/// @see gtx_fast_square_root extension.
|
||||
template<length_t L, typename T, qualifier Q>
|
||||
GLM_FUNC_DECL vec<L, T, Q> fastNormalize(vec<L, T, Q> const& x);
|
||||
|
||||
/// @}
|
||||
}// namespace glm
|
||||
|
Loading…
Reference in New Issue
Block a user