From 6995b1a07c3e0b6e636d5b6e42905cd87de170e3 Mon Sep 17 00:00:00 2001 From: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Date: Wed, 15 May 2024 21:30:52 +1000 Subject: [PATCH] revert texture coordinates as ints instead of shorts (#46) This reverts commit f994ffbe8c1b9480937b1b43f2ee225b8c362d95. --- 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 5fda425e..2bac19fb 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; - int tc[2]; /* texture coord */ + short 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; - int tc[2]; /* texture coord */ + short tc[2]; /* texture coord */ signed char n[3]; /* normal */ unsigned char a; /* alpha */ } Vtx_tn;