Added Matrix4::Identity(), Added Lerp (scalar.h)

This commit is contained in:
2018-03-19 17:28:31 -07:00
parent 62670af728
commit 1e2c597fb6
4 changed files with 14 additions and 0 deletions

View File

@@ -441,5 +441,12 @@ Matrix4 Matrix4::Scaling(const Vector3 &v)
return m;
}
Matrix4 Matrix4::Identity()
{
Matrix4 m;
m.init();
return m;
}
} // namespace kraken