![]() |
Castor3D 0.17.0
Multiplatform 3D engine
|
A speed. More...
#include <Speed.hpp>

Public Types | |
| using | duration_type = DurationT |
| using | value_type = ValueT |
Public Member Functions | |
| SpeedT ()=default | |
| constexpr | SpeedT (ValueT const &value) |
| template<typename ValueU , typename DurationU > | |
| SpeedT (SpeedT< ValueU, DurationU > const &rhs) | |
| template<typename ValueU , typename DurationU > | |
| SpeedT & | operator= (SpeedT< ValueU, DurationU > const &rhs) |
| template<typename DurationU > | |
| ValueT | getDistance (DurationU const &duration) const |
| ValueT const & | getValue () const noexcept |
| SpeedT | operator- () const noexcept |
| template<typename ValueU > | |
| SpeedT & | operator+= (ValueU const &rhs) noexcept |
| template<typename ValueU > | |
| SpeedT & | operator-= (ValueU const &rhs) noexcept |
| template<typename ValueU > | |
| SpeedT & | operator*= (ValueU const &rhs) noexcept |
| template<typename ValueU > | |
| SpeedT & | operator/= (ValueU const &rhs) noexcept |
Static Public Member Functions | |
| template<typename DurationU > | |
| static double | getDurationRatioFrom () |
| template<typename DurationU > | |
| static double | getDurationRatioTo () |
Static Public Attributes | |
| static DurationT constexpr | Zero { 0u } |
| static DurationT constexpr | Unit { 1u } |
Friends | |
| template<typename ValueU , typename DurationU , typename TraitsU > | |
| class | SpeedT |
A speed.
| using castor::SpeedT< ValueT, DurationT, TraitsT >::duration_type = DurationT |
| using castor::SpeedT< ValueT, DurationT, TraitsT >::value_type = ValueT |
|
default |
|
inlineexplicitconstexpr |
|
inlineexplicit |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
friend |
|
staticconstexpr |
|
staticconstexpr |