MCPcopy Create free account
hub / github.com/ddnet/ddnet / SetValueInstant

Method SetValueInstant

src/game/editor/smooth_value.cpp:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void CSmoothValue::SetValueInstant(float Target)
80{
81 m_Smoothing = false;
82 m_Value = std::clamp(Target, m_MinValue, m_MaxValue);
83}
84
85void CSmoothValue::SetValueRange(float MinValue, float MaxValue)
86{

Callers 1

ResetZoomEnvelopeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected