gtxpolar_coordinates (functions)
glm::euclidean( ... )
glm::vec3 glm::euclidean(const glm::vec2 &polar=P)Convert Polar to Euclidean coordinates.
See also: gtx_polar_coordinates
glm::polar( ... )
glm::vec3 glm::polar(const glm::vec3 &euclidean=P)Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude.
See also: gtx_polar_coordinates