acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
angle_type< FLOATING_TYPE > Class Template Reference

Public Types

using FLOATING = FLOATING_TYPE

Public Member Functions

constexpr angle_type (no_initialize_t)
constexpr angle_type (with_t, FLOATING u)
template<prototype_floating FLOATING1>
constexpr angle_type (const ::angle_type< FLOATING1 > &angle)
template<prototype_number Y, prototype_number X>
angle_type & atan (Y y, X x)
angle_type operator- () const
 operator FLOATING () const
FLOATING radian () const
FLOATING degree () const
angle_type operator- (const angle_type &angle) const
angle_type operator+ (const angle_type &angle) const
template<prototype_number NUMBER>
angle_type operator- (NUMBER radians) const
 assumes subtracting radians from angle
template<prototype_number NUMBER>
angle_type operator+ (NUMBER radians) const
 assumes adding radians from angle
template<prototype_number NUMBER>
angle_type operator/ (NUMBER n) const
FLOATING operator/ (const angle_type &angle) const
template<prototype_number NUMBER>
angle_type operator* (NUMBER n) const
angle_type & operator-= (const angle_type &angle)
angle_type & operator+= (const angle_type &angle)
::f64 normalized () const
void normalize ()
constexpr FLOATING radians () const
constexpr FLOATING degrees () const
FLOATING cos () const
FLOATING sin () const

Static Public Member Functions

static constexpr angle_type radians (FLOATING fAngle)
template<prototype_number NUMBER>
static constexpr angle_type degrees (NUMBER degrees)

Public Attributes

FLOATING m_fAngle

The documentation for this class was generated from the following file: