and again
This commit is contained in:
@@ -176,6 +176,11 @@ Mat4f Look(const Vec3f& eye, const Vec3f& center, const Vec3f& up);
|
||||
|
||||
Mat4f Inverse(const Mat4f& mat);
|
||||
|
||||
template<typename T>
|
||||
T Lerp(T v0, T v1, T t) {
|
||||
return (T(1) - t) * v0 + t * v1;
|
||||
}
|
||||
|
||||
} // namespace maths
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user