From aa41f4f8144fdc8181fb43be25a3131f743e119e Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Wed, 26 May 2021 08:37:04 -0400 Subject: [PATCH] Use correct matrix type --- .github/workflows/doc.yml | 2 +- CHANGELOG.md | 6 +++--- GRRLIB/GRRLIB/GRRLIB_3D.c | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 169bdd7..00fb514 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -29,7 +29,7 @@ jobs: mv latex/refman.pdf html/PDF-documentation.pdf - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@4.1.0 + uses: JamesIves/github-pages-deploy-action@4.1.3 with: branch: gh-pages folder: html diff --git a/CHANGELOG.md b/CHANGELOG.md index 768c637..ee7b640 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,16 +4,16 @@ All notable changes to this project will be documented in this file. ## [Unreleased] -- +- Fixed compatibility issues with devkitPPC release 39. ## [4.4.1] - 2021-03-05 -- Patch widescreen on Wii U. +- Patched widescreen on Wii U. ## [4.4.0] - 2020-01-12 - Removed libpng, zlib, libfreetype and libjpeg from the project. These libraries should now be installed in devkitPro with pacman. -- GRRLIB and pngu are now installed into the _porlibs_ folder instead of the _libogc_ folder. +- GRRLIB and pngu are now installed into the _portlibs_ folder instead of the _libogc_ folder. - Removed `uint` declaration. The `u32` type should be used instead. - The `GRRLIB_CreateEmptyTexture()` function is not inline anymore. diff --git a/GRRLIB/GRRLIB/GRRLIB_3D.c b/GRRLIB/GRRLIB/GRRLIB_3D.c index 76038b0..a1bcd3c 100644 --- a/GRRLIB/GRRLIB/GRRLIB_3D.c +++ b/GRRLIB/GRRLIB/GRRLIB_3D.c @@ -83,7 +83,7 @@ void GRRLIB_Camera3dSettings(f32 posx, f32 posy, f32 posz, * @param normalmode False, GX won't need normal coordinate, True, GX will need normal coordinate. */ void GRRLIB_3dMode(f32 minDist, f32 maxDist, f32 fov, bool texturemode, bool normalmode) { - Mtx m; + Mtx44 m; guLookAt(_GRR_view, &_GRR_cam, &_GRR_up, &_GRR_look); guPerspective(m, fov, (f32)rmode->fbWidth/rmode->efbHeight, minDist, maxDist); @@ -123,7 +123,8 @@ void GRRLIB_3dMode(f32 minDist, f32 maxDist, f32 fov, bool texturemode, bool nor * Go back to 2D mode (contributed by chris_c aka DaShAmAn). */ void GRRLIB_2dMode() { - Mtx view, m; + Mtx view; + Mtx44 m; GX_SetZMode(GX_FALSE, GX_LEQUAL, GX_TRUE);