Castor3D 0.16.0
Multiplatform 3D engine
|
Une vitesse. Plus de détails...
#include <Speed.hpp>
Types publics | |
using | duration_type = DurationT |
using | value_type = ValueT |
Fonctions membres publiques | |
SpeedT ()=default | |
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 |
Fonctions membres publiques statiques | |
template<typename DurationU > | |
static double | getDurationRatioFrom () |
template<typename DurationU > | |
static double | getDurationRatioTo () |
Attributs publics statiques | |
static DurationT constexpr | Zero { 0u } |
static DurationT constexpr | Unit { 1u } |
Amis | |
template<typename ValueU , typename DurationU , typename TraitsU > | |
class | SpeedT |
template<typename Value , typename Duration , typename Traits > | |
bool | operator== (SpeedT< Value, Duration, Traits > const &, SpeedT< Value, Duration, Traits > const &) |
template<typename Value , typename Duration , typename Traits > | |
bool | operator< (SpeedT< Value, Duration > const &, SpeedT< Value, Duration, Traits > const &) |
template<typename Value , typename Duration , typename Traits > | |
bool | operator> (SpeedT< Value, Duration, Traits > const &, SpeedT< Value, Duration, Traits > const &) |
Une vitesse.
using castor::SpeedT< ValueT, DurationT, TraitsT >::duration_type = DurationT |
using castor::SpeedT< ValueT, DurationT, TraitsT >::value_type = ValueT |
|
default |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
staticconstexpr |
|
staticconstexpr |