Class representing an angle in radian.
More...
#include <Angle.hpp>
|
float | angle = 0 |
| The angle in radians.
|
|
Class representing an angle in radian.
◆ Angle()
constexpr rl::Angle::Angle |
( |
float |
a | ) |
|
|
noexcept |
Creates an angle.
- Parameters
-
◆ operator float()
constexpr rl::Angle::operator float |
( |
| ) |
const |
|
noexcept |
Casts the angle into a floating point value.
- Returns
- The angle in radians
◆ operator float &()
constexpr rl::Angle::operator float & |
( |
| ) |
|
|
noexcept |
Returns a reference to the angle as a floating point value.
- Returns
- A reference to the angle in radians
The documentation for this struct was generated from the following file: