diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-09-29 13:20:43 +0200 | 
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-09-29 13:20:43 +0200 | 
| commit | 9d72ed2d5801b1506158082f08bd0b47e58db17f (patch) | |
| tree | 1fe30ab6dae55db5a3faaac6b8d54f67a31255d3 /src/basic/math.hpp | |
| parent | d793b79dea7d5e19982128528276cf05d6c23b5d (diff) | |
renderer: major refactor; vectors: now aggregates
Diffstat (limited to 'src/basic/math.hpp')
| -rw-r--r-- | src/basic/math.hpp | 11 | 
1 files changed, 0 insertions, 11 deletions
diff --git a/src/basic/math.hpp b/src/basic/math.hpp index 40be80a..c5b5940 100644 --- a/src/basic/math.hpp +++ b/src/basic/math.hpp @@ -6,9 +6,6 @@ struct V2ST {      size_t x;      size_t y; -    V2ST() = default; -    V2ST(size_t x, size_t y); -    V2ST(int32_t x, int32_t y);      bool operator==(V2ST &b);      bool operator==(const V2ST& other) const {          return x == other.x && y == other.y; @@ -19,8 +16,6 @@ struct V2F32 {      float x;      float y; -    V2F32() = default; -    V2F32(float x, float y);      V2F32 operator/(float scalar);      V2F32 operator*(float scalar);      V2F32 operator+(V2F32 other); @@ -31,8 +26,6 @@ struct V3F32 {      float y;      float z; -    V3F32() = default; -    V3F32(float x, float y, float z);      V3F32 operator/(float scalar);      V3F32 operator*(float scalar);  }; @@ -43,8 +36,6 @@ struct V4F32 {      float z;      float w; -    V4F32() = default; -    V4F32 (float x, float y, float z, float w);      V4F32 operator/(float scalar);      V4F32 operator*(float scalar);  }; @@ -53,8 +44,6 @@ struct V2I32 {      int32_t x;      int32_t y; -    V2I32() = default; -    V2I32 (int32_t x, int32_t y);      bool operator==(V2I32 other);  };  | 
