mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2026-05-05 06:43:52 +00:00
feat: sync with Whoa implementation
This commit is contained in:
parent
254ba545f5
commit
6a31dc3ea4
19 changed files with 988 additions and 774 deletions
|
|
@ -8,6 +8,17 @@ class C2iVector {
|
|||
// Member variables
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
|
||||
// Member functions
|
||||
C2iVector()
|
||||
: C2iVector(0) {};
|
||||
C2iVector(int32_t a)
|
||||
: C2iVector(a, a) {};
|
||||
C2iVector(const C2iVector& v)
|
||||
: C2iVector(v.x, v.y) {};
|
||||
C2iVector(int32_t x, int32_t y)
|
||||
: x(x)
|
||||
, y(y) {};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue