Fix what r4840 was meant to fix but didn't.
This commit is contained in:
parent
44051ee09f
commit
dae13c04b1
|
@ -522,18 +522,18 @@ struct POLYLIST {
|
|||
|
||||
struct VERT {
|
||||
// Align to 16 for SSE instructions to work
|
||||
CACHE_ALIGN union {
|
||||
union {
|
||||
float coord[4];
|
||||
struct {
|
||||
float x,y,z,w;
|
||||
};
|
||||
};
|
||||
CACHE_ALIGN union {
|
||||
} CACHE_ALIGN;
|
||||
union {
|
||||
float texcoord[2];
|
||||
struct {
|
||||
float u,v;
|
||||
};
|
||||
};
|
||||
} CACHE_ALIGN;
|
||||
void set_coord(float x, float y, float z, float w) {
|
||||
this->x = x;
|
||||
this->y = y;
|
||||
|
|
Loading…
Reference in New Issue