![]() |
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_polar_coordinates 00039 #define GLM_GTX_polar_coordinates 50 00040 00041 // Dependency: 00042 #include "../glm.hpp" 00043 00044 #if(defined(GLM_MESSAGES) && !defined(glm_ext)) 00045 # pragma message("GLM: GLM_GTX_polar_coordinates extension included") 00046 #endif 00047 00048 namespace glm 00049 { 00052 00055 template <typename T> 00056 detail::tvec3<T> polar(const detail::tvec3<T>& euclidean); 00057 00060 template <typename T> 00061 detail::tvec3<T> euclidean(const detail::tvec3<T>& polar); 00062 00064 }//namespace glm 00065 00066 #include "polar_coordinates.inl" 00067 00068 #endif//GLM_GTX_polar_coordinates
1.7.4