2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-16 20:57:01 +00:00

Implement Model TCG

This commit is contained in:
2022-03-26 21:34:20 -04:00
parent 3a28933ffd
commit 07b4208c42
3 changed files with 25 additions and 16 deletions

View File

@@ -254,7 +254,6 @@ void CGraphics::SetViewMatrix() {
GXLoadPosMtxImm(g_GXModelView, GX::PNMTX0);
/* Inverse-transpose */
g_GXModelViewInvXpose = g_GXModelView.inverse();
g_GXModelViewInvXpose.origin.zeroOut();
g_GXModelViewInvXpose.basis.transpose();
/* Load normal matrix */
GXLoadNrmMtxImm(g_GXModelViewInvXpose, GX::PNMTX0);