Advertisement
Ember

vectsirs

Jun 20th, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. template <typename type> struct Vector4<type> { float x, y, z, w; }
  2.  
  3. template <> struct Vector4<Float>
  4. {
  5.     Vector4<Half> Compress() { return Vector4<Half>(x, y, z, w); };
  6. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement