IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::math::deg32 Struct Reference

#include <ice/math/angles.hxx>

Public Member Functions

constexpr auto operator* (this deg32 self, SimpleNumberType auto number) noexcept -> deg32
constexpr auto operator/ (this deg32 self, SimpleNumberType auto number) noexcept -> deg32
constexpr auto operator+ (this deg32 self, SimpleNumberType auto number) noexcept -> deg32
constexpr auto operator- (this deg32 self, SimpleNumberType auto number) noexcept -> deg32
constexpr auto operator+ (this deg32 self, deg32 other) noexcept -> deg32
constexpr auto operator- (this deg32 self, deg32 other) noexcept -> deg32
constexpr auto operator<=> (this deg32 self, SimpleNumberType auto other) noexcept
constexpr auto operator<=> (this deg32 self, deg32 other) noexcept
constexpr auto raw_value (this deg32 self) noexcept -> f32
constexpr auto to_rad64 (this deg32 self) noexcept -> rad64
constexpr auto to_rad32 (this deg32 self) noexcept -> rad32
constexpr operator deg64 () const noexcept

Public Attributes

f32 _value

Member Function Documentation

◆ operator deg64()

ice::math::deg32::operator deg64 ( ) const
constexprnoexcept

◆ operator*()

auto ice::math::deg32::operator* ( this deg32 self,
SimpleNumberType auto number ) -> deg32
inlineconstexprnoexcept

◆ operator+() [1/2]

auto ice::math::deg32::operator+ ( this deg32 self,
deg32 other ) -> deg32
inlineconstexprnoexcept

◆ operator+() [2/2]

auto ice::math::deg32::operator+ ( this deg32 self,
SimpleNumberType auto number ) -> deg32
inlineconstexprnoexcept

◆ operator-() [1/2]

auto ice::math::deg32::operator- ( this deg32 self,
deg32 other ) -> deg32
inlineconstexprnoexcept

◆ operator-() [2/2]

auto ice::math::deg32::operator- ( this deg32 self,
SimpleNumberType auto number ) -> deg32
inlineconstexprnoexcept

◆ operator/()

auto ice::math::deg32::operator/ ( this deg32 self,
SimpleNumberType auto number ) -> deg32
inlineconstexprnoexcept

◆ operator<=>() [1/2]

auto ice::math::deg32::operator<=> ( this deg32 self,
deg32 other )
inlineconstexprnoexcept

◆ operator<=>() [2/2]

auto ice::math::deg32::operator<=> ( this deg32 self,
SimpleNumberType auto other )
inlineconstexprnoexcept

◆ raw_value()

auto ice::math::deg32::raw_value ( this deg32 self) -> f32
inlineconstexprnoexcept

◆ to_rad32()

auto ice::math::deg32::to_rad32 ( this deg32 self) -> rad32
inlineconstexprnoexcept

◆ to_rad64()

auto ice::math::deg32::to_rad64 ( this deg32 self) -> rad64
inlineconstexprnoexcept

Member Data Documentation

◆ _value

f32 ice::math::deg32::_value

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