OGLplus
(0.59.0)
a C++ wrapper for rendering APIs
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
Variables
Typedefs
a
b
c
d
e
g
h
i
k
l
m
n
o
p
r
s
t
u
v
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
v
Related Functions
o
Files
File List
File Members
All
Macros
Examples
oglplus
math
coordinates.hpp
Go to the documentation of this file.
1
#ifndef OGLPLUS_MATH_COORDINATES_HPP
9
#define OGLPLUS_MATH_COORDINATES_HPP
10
11
#include "
config.hpp
"
12
#include <
eagine/math/coordinates.hpp
>
13
#include <
oglplus/gl_api/config.hpp
>
14
15
namespace
eagine::oglp {
16
19
using
unit_spherical_coordinate
=
20
math::unit_spherical_coordinate<gl_types::float_type, math_use_simd>
;
21
22
using
math::to_cartesian
;
23
using
math::to_unit_spherical
;
24
25
}
// namespace eagine::oglp
26
27
#endif // OGLPLUS_MATH_COORDINATES_HPP
eagine::math::to_unit_spherical
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
eagine::math::to_cartesian
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
coordinates.hpp
eagine::math::unit_spherical_coordinate
Class representing unit spherical coordinate.
Definition:
coordinates.hpp:23
config.hpp
eagine::oglp::unit_spherical_coordinate
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
Copyright © 2015-2021
Matúš Chochlík
.
<
chochlik -at -gmail.com
>
Documentation generated on Tue Apr 13 2021 by
Doxygen
(version 1.8.17).