mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2025-12-12 10:32:29 +00:00
feat(vector): update C2Vector class
This commit is contained in:
parent
8e406788b1
commit
f28f744a5b
5 changed files with 248 additions and 2 deletions
|
|
@ -14,6 +14,10 @@ class C3Vector {
|
|||
|
||||
// Member functions
|
||||
C3Vector() = default;
|
||||
C3Vector(float a)
|
||||
: x(a)
|
||||
, y(a)
|
||||
, z(a) {};
|
||||
C3Vector(float x, float y, float z)
|
||||
: x(x)
|
||||
, y(y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue