normal.hpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 #ifndef GLM_GTX_normal
00040 #define GLM_GTX_normal GLM_VERSION
00041 
00042 // Dependency:
00043 #include "../glm.hpp"
00044 
00045 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00046 #       pragma message("GLM: GLM_GTX_normal extension included")
00047 #endif
00048 
00049 namespace glm
00050 {
00053 
00056     template <typename T> 
00057         detail::tvec3<T> triangleNormal(
00058                 detail::tvec3<T> const & p1, 
00059                 detail::tvec3<T> const & p2, 
00060                 detail::tvec3<T> const & p3);
00061 
00063 }//namespace glm
00064 
00065 #include "normal.inl"
00066 
00067 #endif//GLM_GTX_normal