[nostalgia/geo] Simplify Vec2

This commit is contained in:
2022-02-16 20:16:16 -06:00
parent 8927f0e9c8
commit 72ce8ea4d9
2 changed files with 194 additions and 193 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ namespace nostalgia::geo {
#ifndef OX_OS_BareMetal // doesn't compile in devKitPro for some reason
static_assert([] {
Vec2 v(1, 2);
return v.x == 1 && v.y == 2 && v[0] == 1 && v[1] == 2;
return v.x == 1 && v.y == 2 && v[0] == 1 && v[1] == 2 && v.size() == 2;
});
#endif