From f994ffbe8c1b9480937b1b43f2ee225b8c362d95 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:33:23 -0400 Subject: [PATCH] Make texture coordinates use ints instead of shorts --- include/PR/gbi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/PR/gbi.h b/include/PR/gbi.h index 2bac19fb..5fda425e 100644 --- a/include/PR/gbi.h +++ b/include/PR/gbi.h @@ -1118,7 +1118,7 @@ typedef struct { float ob[3]; /* x, y, z */ unsigned short flag; - short tc[2]; /* texture coord */ + int tc[2]; /* texture coord */ unsigned char cn[4]; /* color & alpha */ } Vtx_t; @@ -1128,7 +1128,7 @@ typedef struct { typedef struct { float ob[3]; /* x, y, z */ unsigned short flag; - short tc[2]; /* texture coord */ + int tc[2]; /* texture coord */ signed char n[3]; /* normal */ unsigned char a; /* alpha */ } Vtx_tn;