initial commit

This commit is contained in:
izenynn
2025-02-17 21:05:45 +01:00
commit 06623aeb64
282 changed files with 113292 additions and 0 deletions

16
lib/glm/gtx/normal.inl Normal file
View File

@@ -0,0 +1,16 @@
/// @ref gtx_normal
/// @file glm/gtx/normal.inl
namespace glm
{
template <typename T, precision P>
GLM_FUNC_QUALIFIER tvec3<T, P> triangleNormal
(
tvec3<T, P> const & p1,
tvec3<T, P> const & p2,
tvec3<T, P> const & p3
)
{
return normalize(cross(p1 - p2, p1 - p3));
}
}//namespace glm