mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2026-05-05 14:53:51 +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
26
tempest/vector/C3iVector.hpp
Normal file
26
tempest/vector/C3iVector.hpp
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef TEMPEST_VECTOR_C_3IVECTOR_HPP
|
||||
#define TEMPEST_VECTOR_C_3IVECTOR_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
class C3iVector {
|
||||
public:
|
||||
// Member variables
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
int32_t z;
|
||||
|
||||
// Member functions
|
||||
C3iVector()
|
||||
: C3iVector(0) {};
|
||||
C3iVector(int32_t a)
|
||||
: C3iVector(a, a, a) {};
|
||||
C3iVector(const C3iVector& v)
|
||||
: C3iVector(v.x, v.y, v.z) {};
|
||||
C3iVector(int32_t x, int32_t y, int32_t z)
|
||||
: x(x)
|
||||
, y(y)
|
||||
, z(z) {};
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue