diff options
Diffstat (limited to 'external/include/glm/gtx/normal.inl')
-rw-r--r-- | external/include/glm/gtx/normal.inl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/external/include/glm/gtx/normal.inl b/external/include/glm/gtx/normal.inl index e442317..bcd74e5 100644 --- a/external/include/glm/gtx/normal.inl +++ b/external/include/glm/gtx/normal.inl @@ -3,12 +3,12 @@ namespace glm { - template <typename T, precision P> - GLM_FUNC_QUALIFIER tvec3<T, P> triangleNormal + template<typename T, qualifier Q> + GLM_FUNC_QUALIFIER vec<3, T, Q> triangleNormal ( - tvec3<T, P> const & p1, - tvec3<T, P> const & p2, - tvec3<T, P> const & p3 + vec<3, T, Q> const& p1, + vec<3, T, Q> const& p2, + vec<3, T, Q> const& p3 ) { return normalize(cross(p1 - p2, p1 - p3)); |