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 {
|
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;
|
||||||
|
|
Loading…
Reference in New Issue