revert texture coordinates as ints instead of shorts (#46)

This reverts commit f994ffbe8c.
This commit is contained in:
Isaac0-dev 2024-05-15 21:30:52 +10:00 committed by GitHub
parent 37528b7ee8
commit 6995b1a07c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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