Skip to content

Instantly share code, notes, and snippets.

@DylanLukes
Created November 1, 2010 14:04
Show Gist options
  • Save DylanLukes/658217 to your computer and use it in GitHub Desktop.
Save DylanLukes/658217 to your computer and use it in GitHub Desktop.
typedef struct {
union {
struct {
int r;
int g;
int b;
int a;
}
struct {
int x;
int y;
int z;
int w;
}
}
} Vec4;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment