Use correct matrix type

This commit is contained in:
Crayon2000 2021-05-26 08:37:04 -04:00
parent 11b673056b
commit aa41f4f814
3 changed files with 7 additions and 6 deletions

View file

@ -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

View file

@ -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.

View file

@ -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);