Thanks for the report. I think we might solve the issue by renaming the second x/y couple by omething ike x_/y_:
typedef union
{
float data[4];
float xyzw[4];
float rgba[4];
float rgb[3];
float xyz[3];
struct { float x; float y; float z; float w; };
struct { float x_; float y_; float width; float height; };
struct { float r; float g; float b; float a; };
struct { float red; float green; float blue; float alpha; };
} vec4;
Could you try and tell me if it's working ?
Nicolas
> Could you try and tell me if it's working ?
Yes, that work!
And, this way, those modifications don't impact other file.
Thanks,
Sylvain.