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 namespace glm
00020 {
00021 namespace gtx{
00023 namespace polar_coordinates
00024 {
00027 template <typename T>
00028 detail::tvec3<T> polar(const detail::tvec3<T>& euclidean);
00029
00032 template <typename T>
00033 detail::tvec3<T> euclidean(const detail::tvec3<T>& polar);
00034
00035 }
00036 }
00037 }
00038
00039 #include "polar_coordinates.inl"
00040
00041 namespace glm{using namespace gtx::polar_coordinates;}
00042
00043 #endif//glm_gtx_polar_coordinates