diff options
| author | a1xd <[email protected]> | 2020-07-22 19:34:13 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-07-22 19:34:13 -0400 |
| commit | 78156f34166c110fcad47aef166684b8e25ac4fa (patch) | |
| tree | b6121a5e1725639800c266c865f9067b3cd31a17 /common/vec2.h | |
| parent | Add .gitignore and .gitattributes. (diff) | |
| download | rawaccel-0.1-test.tar.xz rawaccel-0.1-test.zip | |
Add project files.v0.1-test
Diffstat (limited to 'common/vec2.h')
| -rw-r--r-- | common/vec2.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/vec2.h b/common/vec2.h new file mode 100644 index 0000000..6484e69 --- /dev/null +++ b/common/vec2.h @@ -0,0 +1,9 @@ +#pragma once + +template <typename T> +struct vec2 { + T x; + T y; +}; + +using vec2d = vec2<double>; |