bjz

Vec3 union

bjz
Jul 19th, 2012
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
D 0.16 KB | None | 0 0
  1. struct Vec3 {
  2.  
  3.     union {
  4.         struct { float i, j, k; }
  5.         struct { float x, y, z; }
  6.         struct { float r, g, b; }
  7.         float[3] v;
  8.     }
  9.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment