Make texture coordinates use ints instead of shorts

This commit is contained in:
Agent X 2024-04-16 19:33:23 -04:00
parent afb2a09db5
commit f994ffbe8c
1 changed files with 2 additions and 2 deletions

View File

@ -1118,7 +1118,7 @@
typedef struct { typedef struct {
float ob[3]; /* x, y, z */ float ob[3]; /* x, y, z */
unsigned short flag; unsigned short flag;
short tc[2]; /* texture coord */ int tc[2]; /* texture coord */
unsigned char cn[4]; /* color & alpha */ unsigned char cn[4]; /* color & alpha */
} Vtx_t; } Vtx_t;
@ -1128,7 +1128,7 @@ typedef struct {
typedef struct { typedef struct {
float ob[3]; /* x, y, z */ float ob[3]; /* x, y, z */
unsigned short flag; unsigned short flag;
short tc[2]; /* texture coord */ int tc[2]; /* texture coord */
signed char n[3]; /* normal */ signed char n[3]; /* normal */
unsigned char a; /* alpha */ unsigned char a; /* alpha */
} Vtx_tn; } Vtx_tn;