00001 
00002 
00004 
00005 
00006 
00007 
00009 
00010 
00012 
00013 #ifndef glm_gtx_normal
00014 #define glm_gtx_normal
00015 
00016 
00017 #include "../glm.hpp"
00018 
00019 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00020 #       pragma message("GLM: GLM_GTX_normal extension included")
00021 #endif
00022 
00023 namespace glm{
00024 namespace gtx{
00025 namespace normal 
00026 {
00029 
00032     template <typename T> 
00033         detail::tvec3<T> triangleNormal(
00034                 detail::tvec3<T> const & p1, 
00035                 detail::tvec3<T> const & p2, 
00036                 detail::tvec3<T> const & p3);
00037 
00039 }
00040 }
00041 }
00042 
00043 #include "normal.inl"
00044 
00045 namespace glm{using namespace gtx::normal;}
00046 
00047 #endif//glm_gtx_normal