00001 
00002 
00004 
00005 
00006 
00007 
00009 
00010 
00012 
00013 #ifndef glm_gtx_polar_coordinates
00014 #define glm_gtx_polar_coordinates
00015 
00016 
00017 #include "../glm.hpp"
00018 
00019 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00020 #       pragma message("GLM: GLM_GTX_polar_coordinates extension included")
00021 #endif
00022 
00023 namespace glm{
00024 namespace gtx{
00025 namespace polar_coordinates 
00026 {
00029 
00032         template <typename T> 
00033         detail::tvec3<T> polar(const detail::tvec3<T>& euclidean);
00034 
00037         template <typename T> 
00038         detail::tvec3<T> euclidean(const detail::tvec3<T>& polar);
00039 
00041 }
00042 }
00043 }
00044 
00045 #include "polar_coordinates.inl"
00046 
00047 namespace glm{using namespace gtx::polar_coordinates;}
00048 
00049 #endif//glm_gtx_polar_coordinates