Clutter Engine 0.0.1
Loading...
Searching...
No Matches
normal.hpp
Go to the documentation of this file.
1
13
14#pragma once
15
16// Dependency:
17#include "../glm.hpp"
18
19#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
20# ifndef GLM_ENABLE_EXPERIMENTAL
21# pragma message("GLM: GLM_GTX_normal is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it.")
22# else
23# pragma message("GLM: GLM_GTX_normal extension included")
24# endif
25#endif
26
27namespace glm
28{
31
35 template<typename T, qualifier Q>
36 GLM_FUNC_DECL vec<3, T, Q> triangleNormal(vec<3, T, Q> const& p1, vec<3, T, Q> const& p2, vec<3, T, Q> const& p3);
37
39}//namespace glm
40
41#include "normal.inl"
GLM_FUNC_DECL vec< 3, T, Q > triangleNormal(vec< 3, T, Q > const &p1, vec< 3, T, Q > const &p2, vec< 3, T, Q > const &p3)
Definition normal.inl:7
Core features
Definition common.hpp:21