![]() |
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 #ifndef GLM_GTX_projection 00039 #define GLM_GTX_projection 50 00040 00041 // Dependency: 00042 #include "../glm.hpp" 00043 00044 #if(defined(GLM_MESSAGES) && !defined(glm_ext)) 00045 # pragma message("GLM: GLM_GTX_projection extension included") 00046 #endif 00047 00048 namespace glm 00049 { 00052 00055 template <typename T> 00056 detail::tvec2<T> proj( 00057 detail::tvec2<T> const & x, 00058 detail::tvec2<T> const & Normal); 00059 00062 template <typename T> 00063 detail::tvec3<T> proj( 00064 detail::tvec3<T> const & x, 00065 detail::tvec3<T> const & Normal); 00066 00069 template <typename T> 00070 detail::tvec4<T> proj( 00071 detail::tvec4<T> const & x, 00072 detail::tvec4<T> const & Normal); 00073 00075 }//namespace glm 00076 00077 #include "projection.inl" 00078 00079 #endif//GLM_GTX_projection
1.7.4