feat(vector): add C2Vector constructors

This commit is contained in:
fallenoak 2020-11-26 12:46:16 -06:00
parent 0ebe6450a0
commit 51ccc49265
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
2 changed files with 20 additions and 0 deletions

View file

@ -6,6 +6,12 @@ class C2Vector {
// Member variables
float x = 0.0f;
float y = 0.0f;
// Member functions
C2Vector() = default;
C2Vector(float x, float y)
: x(x)
, y(y) {};
};
#endif