0.9.8
normal.hpp
Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 
19 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTX_normal extension included")
21 #endif
22 
23 namespace glm
24 {
27 
30  template <typename T, precision P>
31  GLM_FUNC_DECL tvec3<T, P> triangleNormal(
32  tvec3<T, P> const & p1,
33  tvec3<T, P> const & p2,
34  tvec3<T, P> const & p3);
35 
37 }//namespace glm
38 
39 #include "normal.inl"
Definition: _noise.hpp:11
GLM_FUNC_DECL tvec3< T, P > triangleNormal(tvec3< T, P > const &p1, tvec3< T, P > const &p2, tvec3< T, P > const &p3)
Computes triangle normal from triangle points.