switch to glm

This commit is contained in:
2021-09-24 01:53:44 +08:00
parent 80cae7618c
commit 6c6ee96be1
7 changed files with 25 additions and 21 deletions

View File

@@ -23,10 +23,10 @@ namespace hgl
void Set(const Matrix4f &w,const Matrix4f &vp)
{
l2w=w;
inverse_l2w=l2w.Inverted();
inverse_l2w=inverse(l2w);
mvp=vp*l2w;
inverse_mvp=mvp.Inverted();
inverse_mvp=inverse(mvp);
}
CompOperatorMemcmp(const MVPMatrix &);