mirror of
https://github.com/thunderbrewhq/typhoon.git
synced 2025-12-12 02:22:30 +00:00
chore: initial commit
This commit is contained in:
commit
c955dd6531
16 changed files with 18109 additions and 0 deletions
21
tempest/vector/C3Vector.hpp
Normal file
21
tempest/vector/C3Vector.hpp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef TEMPEST_VECTOR_C_3VECTOR_HPP
|
||||
#define TEMPEST_VECTOR_C_3VECTOR_HPP
|
||||
|
||||
class C3Vector {
|
||||
public:
|
||||
// Member variables
|
||||
float x = 0.0f;
|
||||
float y = 0.0f;
|
||||
float z = 0.0f;
|
||||
|
||||
// Member functions
|
||||
C3Vector() = default;
|
||||
C3Vector(float x, float y, float z)
|
||||
: x(x)
|
||||
, y(y)
|
||||
, z(z){};
|
||||
C3Vector& operator*=(float a);
|
||||
float SquaredMag() const;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue