Functions
GLM_GTX_polar_coordinates

Conversion from Euclidean space to polar space and revert. More...

Collaboration diagram for GLM_GTX_polar_coordinates:

Functions

template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3< T, Pglm::euclidean (detail::tvec2< T, P > const &polar)
 
template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3< T, Pglm::polar (detail::tvec3< T, P > const &euclidean)
 

Detailed Description

Conversion from Euclidean space to polar space and revert.

<glm/gtx/polar_coordinates.hpp> need to be included to use these functionalities.

Function Documentation

◆ euclidean()

template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3<T, P> glm::euclidean ( detail::tvec2< T, P > const &  polar)

Convert Polar to Euclidean coordinates.

See also
GLM_GTX_polar_coordinates

◆ polar()

template<typename T , precision P>
GLM_FUNC_DECL detail::tvec3<T, P> glm::polar ( detail::tvec3< T, P > const &  euclidean)

Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude.

See also
GLM_GTX_polar_coordinates


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26