summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/normal.inl
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-21 17:40:38 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-08-21 17:40:38 +0200
commit2877f4eda3d1b0c7431039e3142ecf1a282a34b1 (patch)
tree58ad35e27ab2a3b8955f5adbf28f296670681ffc /external/include/glm/gtx/normal.inl
parentSmooth sun movement (diff)
downloadAltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.gz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.bz2
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.lz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.xz
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.zst
AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.zip
Diffstat (limited to 'external/include/glm/gtx/normal.inl')
-rw-r--r--external/include/glm/gtx/normal.inl10
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));