Go to the documentation of this file. 1 #ifndef OGLPLUS_MATH_COORDINATES_HPP
9 #define OGLPLUS_MATH_COORDINATES_HPP
15 namespace eagine::oglp {
27 #endif // OGLPLUS_MATH_COORDINATES_HPP
auto to_unit_spherical(vector< T, 3, V > v) noexcept -> unit_spherical_coordinate< T, V >
Converts cartesian vector to unit spherical coordinate.
Definition: coordinates.hpp:65
auto to_cartesian(unit_spherical_coordinate< T, V > c) noexcept -> vector< T, 3, V >
Converts unit spherical coordinate to cartesian vector.
Definition: coordinates.hpp:53
Class representing unit spherical coordinate.
Definition: coordinates.hpp:23
math::unit_spherical_coordinate< gl_types::float_type, math_use_simd > unit_spherical_coordinate
Alias for math::unit_spherical_coordinate instantiation.
Definition: coordinates.hpp:20