Skip to content

Instantly share code, notes, and snippets.

@thetooth
Created January 31, 2014 12:32
Show Gist options
  • Save thetooth/8731239 to your computer and use it in GitHub Desktop.
Save thetooth/8731239 to your computer and use it in GitHub Desktop.
template<typename T> struct Quad2D
{
T x,y,z,w;
Quad2D(T X, T Y, T Z, T W) : x(X), y(Y), z(Z), w(W) {};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment