Skip to content

Commit 3e08fa6

Browse files
committed
use correct matrix type for perspective
1 parent 4643c8c commit 3e08fa6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

graphics/gx/acube/source/acube.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ int main( int argc, char **argv ){
5959
//---------------------------------------------------------------------------------
6060
f32 yscale;
6161
u32 xfbHeight;
62-
Mtx v,p; // view and perspective matrices
62+
Mtx44 v,p; // view and perspective matrices
6363
GXColor background = {0, 0, 0, 0xff};
6464

6565
// init the vi. setup frame buffer and set the retrace callback

graphics/gx/texturetest/source/texture.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void movecamera(float speed);
5959

6060

6161
int main() {
62-
Mtx v,p; // view and perspective matrices
62+
Mtx44 v,p; // view and perspective matrices
6363
GXColor background = {0, 0, 0, 0xff};
6464

6565
VIDEO_Init();

graphics/gx/triangle/source/triangle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static void copy_buffers(u32 unused);
2929
int main(void)
3030
{
3131
Mtx view;
32-
Mtx projection;
32+
Mtx44 projection;
3333
PADStatus pads[4];
3434
GXColor backgroundColor = {0, 0, 0, 255};
3535
void *fifoBuffer = NULL;

0 commit comments

Comments
 (0)