mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 19:29:19 +02:00
Replace interpolate with std::lerp and glm::mix
This commit is contained in:
@@ -457,7 +457,7 @@ float TGauge::GetScaledValue() const {
|
||||
( false == m_interpolatescale ) ?
|
||||
m_value * m_scale + m_offset :
|
||||
m_value
|
||||
* interpolate(
|
||||
* std::lerp(
|
||||
m_scale, m_endscale,
|
||||
std::clamp(
|
||||
m_value / m_endvalue,
|
||||
|
||||
Reference in New Issue
Block a user