40 : T(1.0 - std::exp(-1.0 /
static_cast<double>(
numOfTicks)));
Definition AcousticMaterial.h:36
JPL_INLINE simd min(const simd &a, const simd &b) noexcept
Element-wise min.
Definition SIMD.h:1813
Definition SmoothedValue.h:29
static T GetExpAlpha(uint32_t numOfTicks)
Definition SmoothedValue.h:36
void Tick()
Definition SmoothedValue.h:73
static SmoothedValue CreateSimpleSmoothing(uint32_t numOfTicks)
Definition SmoothedValue.h:55
T GetNext()
Definition SmoothedValue.h:80
static SmoothedValue CreateExpSmoothing(T current, T target, uint32_t numOfTicks)
Definition SmoothedValue.h:60
T Current
Definition SmoothedValue.h:31
T Alpha
Definition SmoothedValue.h:33
static SmoothedValue CreateExpSmoothing(uint32_t numOfTicks)
Definition SmoothedValue.h:50
static T GetInvAlpha(uint32_t numOfTicks)
Definition SmoothedValue.h:43
T Target
Definition SmoothedValue.h:32
void SetDurationExp(uint32_t numTicks)
Definition SmoothedValue.h:70
static SmoothedValue CreateSimpleSmoothing(T current, T target, uint32_t numOfTicks)
Definition SmoothedValue.h:65