Simulant  21.12-194
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
radians.h
1 #pragma once
2 
3 namespace smlt {
4 
5 struct Degrees;
6 
7 struct Radians {
8  Radians():
9  value(0) {}
10 
11  explicit Radians(float value):
12  value(value) {}
13 
14  Radians(const Degrees& rhs);
15 
16  float value;
17 };
18 
19 
20 Radians to_radians(const Degrees& degrees);
21 Radians lerp_angle(Radians a, Radians b, float t);
22 
23 }
smlt::Radians
Definition: radians.h:7
smlt
Definition: animation.cpp:25
smlt::Degrees
Definition: degrees.h:7