Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <typename _T>
- struct vector2_t
- {
- union {
- struct {
- _T x;
- _T y;
- };
- struct {
- _T r;
- _T g;
- };
- struct {
- _T u;
- _T v;
- };
- _T data[2];
- };
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement