![]() |
Castor3D 0.16.0
Multiplatform 3D engine
|
Un intervalle dans une séquence d'intervalles. Plus de détails...
#include <RangeSequence.hpp>
Fonctions membres publiques | |
IndexedRangeT (uint32_t index, T const &min, T const &max) | |
uint32_t | getIndex () const |
![]() | |
Range (T const &min, T const &max) noexcept | |
Constructeur. | |
T const & | clamp (T const &value) const noexcept |
Remet une valeur dans l'intervalle. | |
bool | has (T const &value) const noexcept |
float | percent (T const &value) const noexcept |
Retourne le pourcentage correspondant à la valeur donnée. | |
float | invPercent (T const &value) const noexcept |
Retourne le pourcentage correspondant à la valeur donnée. | |
T | value (float const &percent) const noexcept |
Retourne la valeur correspondant au pourcentage donné. | |
T | invValue (float const &percent) const noexcept |
Retourne la valeur correspondant au pourcentage donné. | |
T const & | getMin () const noexcept |
T const & | getMax () const noexcept |
Un intervalle dans une séquence d'intervalles.
|
inline |
|
inline |