mirror of
https://github.com/id-Software/quake2-rerelease-dll.git
synced 2026-03-19 16:39:46 +01:00
Update 1 changes
This commit is contained in:
@@ -114,7 +114,7 @@ using std::clamp;
|
||||
template<typename T>
|
||||
constexpr T lerp(T from, T to, float t)
|
||||
{
|
||||
return t * from + (1.f - t) * to;
|
||||
return (to * t) + (from * (1.f - t));
|
||||
}
|
||||
|
||||
// angle indexes
|
||||
|
||||
Reference in New Issue
Block a user