Fix what r4840 was meant to fix but didn't.

This commit is contained in:
thelemonman 2013-11-08 17:19:37 +00:00
parent 44051ee09f
commit dae13c04b1
1 changed files with 4 additions and 4 deletions

View File

@ -522,18 +522,18 @@ struct POLYLIST {
struct VERT { struct VERT {
// Align to 16 for SSE instructions to work // Align to 16 for SSE instructions to work
CACHE_ALIGN union { union {
float coord[4]; float coord[4];
struct { struct {
float x,y,z,w; float x,y,z,w;
}; };
}; } CACHE_ALIGN;
CACHE_ALIGN union { union {
float texcoord[2]; float texcoord[2];
struct { struct {
float u,v; float u,v;
}; };
}; } CACHE_ALIGN;
void set_coord(float x, float y, float z, float w) { void set_coord(float x, float y, float z, float w) {
this->x = x; this->x = x;
this->y = y; this->y = y;