47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTX_polar_coordinates extension included")
59 template <
typename T, precision P>
60 GLM_FUNC_DECL tvec3<T, P>
polar(
66 template <
typename T, precision P>
68 tvec2<T, P>
const &
polar);
73 #include "polar_coordinates.inl"
GLM_FUNC_DECL tvec3< T, P > euclidean(tvec2< T, P > const &polar)
Convert Polar to Euclidean coordinates.
GLM_FUNC_DECL tvec3< T, P > polar(tvec3< T, P > const &euclidean)
Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude...