Lugdunum  0.1.0
Trigonometry.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <cmath>
4 #include <limits>
5 
6 namespace lug {
7 namespace Math {
8 namespace Geometry {
9 
10 template <typename T = double>
11 T radians(T degrees);
12 
13 template <typename T = double>
14 T degrees(T radians);
15 
16 template <typename T = double>
17 T sin(T radians);
18 
19 template <typename T = double>
20 T cos(T radians);
21 
22 template <typename T = double>
23 T tan(T radians);
24 
25 template <typename T = double>
26 T asin(T radians);
27 
28 template <typename T = double>
29 T acos(T radians);
30 
31 template <typename T = double>
32 T atan(T radians);
33 
34 template <typename T = double>
35 T atan2(T y, T x);
36 
38 
39 } // Geometry
40 } // Math
41 } // lug
T degrees(T radians)
Definition: Trigonometry.inl:8
T radians(T degrees)
Definition: Trigonometry.inl:2