OGLplus  (0.59.0) a C++ wrapper for rendering APIs

coordinates.hpp File Reference
#include "../quantities.hpp"
#include "../valid_if/nonnegative.hpp"
#include "../valid_if/positive.hpp"
#include "functions.hpp"
#include "vector.hpp"
#include <tuple>

Go to the source code of this file.

Classes

class  eagine::math::unit_spherical_coordinate< T, V >
 Class representing unit spherical coordinate. More...
 

Namespaces

 eagine
 Common code is placed in this namespace.
 
 eagine::math
 Math-related code is placed in this namespace.
 

Functions

template<typename T , bool V>
auto eagine::math::to_cartesian (unit_spherical_coordinate< T, V > c) noexcept -> vector< T, 3, V >
 Converts unit spherical coordinate to cartesian vector.
 
template<typename T , bool V>
auto eagine::math::to_unit_spherical (vector< T, 3, V > v) noexcept -> unit_spherical_coordinate< T, V >
 Converts cartesian vector to unit spherical coordinate.
 

Detailed Description

Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt


Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).