Skip to content

Instantly share code, notes, and snippets.

@DylanLukes
Created October 29, 2010 12:42
Show Gist options
  • Save DylanLukes/653476 to your computer and use it in GitHub Desktop.
Save DylanLukes/653476 to your computer and use it in GitHub Desktop.
struct vec4 {
union {
struct {
int x;
int y;
int z;
int w;
}
struct {
int r;
int g;
int b;
int a;
}
struct {
int s;
int t;
int u;
int v;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment