![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
Typedefs | |
template<typename T > | |
using | RADIANS = T |
template<typename T > | |
using | DEGREES = T |
Functions | |
template<typename T > | |
constexpr DEGREES< T > | to_VerticalFoV (DEGREES< T > horizontalFoV, D64 aspectRatio) noexcept |
template<typename T > | |
constexpr DEGREES< T > | to_HorizontalFoV (DEGREES< T > verticalFoV, D64 aspectRatio) noexcept |
template<typename T > | |
constexpr RADIANS< T > | to_RADIANS (DEGREES< T > angle) noexcept |
template<typename T > | |
constexpr DEGREES< T > | to_DEGREES (RADIANS< T > angle) noexcept |
template<typename T > | |
constexpr vec2< RADIANS< T > > | to_RADIANS (vec2< DEGREES< T > > angle) noexcept |
template<typename T > | |
constexpr vec2< DEGREES< T > > | to_DEGREES (vec2< RADIANS< T > > angle) noexcept |
template<typename T > | |
constexpr vec3< RADIANS< T > > | to_RADIANS (const vec3< DEGREES< T > > &angle) noexcept |
template<typename T > | |
constexpr vec3< DEGREES< T > > | to_DEGREES (const vec3< RADIANS< T > > &angle) noexcept |
template<typename T > | |
constexpr vec4< RADIANS< T > > | to_RADIANS (const vec4< DEGREES< T > > &angle) noexcept |
template<typename T > | |
constexpr vec4< DEGREES< T > > | to_DEGREES (const vec4< RADIANS< T > > &angle) noexcept |
template<typename T > | |
constexpr T | DegreesToRadians (T angleDegrees) noexcept |
Return the radian equivalent of the given degree value. | |
template<typename T > | |
constexpr T | RadiansToDegrees (T angleRadians) noexcept |
Return the degree equivalent of the given radian value. | |
template<typename T > | |
constexpr T | Degrees (T degrees) noexcept |
Returns the specified value. Used only for emphasis. | |
template<typename T > | |
constexpr T | Radians (T radians) noexcept |
Returns the specified value. Used only for emphasis. | |
template<> | |
constexpr RADIANS< F32 > | to_RADIANS (const DEGREES< F32 > angle) noexcept |
template<> | |
constexpr DEGREES< F32 > | to_DEGREES (const RADIANS< F32 > angle) noexcept |
using Divide::Angle::DEGREES = typedef T |
Definition at line 275 of file MathHelper.h.
using Divide::Angle::RADIANS = typedef T |
Definition at line 272 of file MathHelper.h.
|
constexprnoexcept |
Returns the specified value. Used only for emphasis.
Definition at line 442 of file MathHelper.inl.
|
constexprnoexcept |
Return the radian equivalent of the given degree value.
Definition at line 429 of file MathHelper.inl.
|
constexprnoexcept |
Returns the specified value. Used only for emphasis.
Definition at line 449 of file MathHelper.inl.
|
constexprnoexcept |
Return the degree equivalent of the given radian value.
Definition at line 436 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 386 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 410 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 422 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 380 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 398 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 360 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 374 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 404 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 416 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 368 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 392 of file MathHelper.inl.
|
constexprnoexcept |
Definition at line 352 of file MathHelper.inl.