Antkeeper  0.0.1
Namespaces | Functions
cartesian.hpp File Reference
#include <engine/math/vector.hpp>
#include <cmath>

Go to the source code of this file.

Namespaces

 geom
 Geometric algorithms.
 
 geom::cartesian
 Functions which operate on Cartesian (rectangular) coordinates.
 

Functions

template<class T >
math::vec3< T > geom::cartesian::to_spherical (const math::vec3< T > &v)
 Converts Cartesian (rectangular) coordinates to spherical coordinates. More...