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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user