Update 1 changes

This commit is contained in:
Mike Rubits
2023-10-03 14:43:06 -04:00
parent 60f29560f3
commit 8dc1fc9794
67 changed files with 1806 additions and 1479 deletions

View File

@@ -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