Adding code x3

This commit is contained in:
2023-12-27 21:42:38 -06:00
parent f90f1cf40b
commit 24cc2e79bc
8 changed files with 152 additions and 35 deletions

View File

@@ -33,7 +33,6 @@ namespace LinearAlgebra {
float operator[](std::size_t index) const;
bool IsWithinMarginOfError(const Vector4& rhs, float margin=0.0001f) const;
bool IsNormalized(float epsilonSq = 1e-5f) const;
bool IsZero(float epsilonSq = 1e-6f) const;
bool IsFinite() const;
@@ -85,10 +84,10 @@ namespace LinearAlgebra {
Vector4 operator-() const; // Unary - Operator (Negation)
public:
#if MUTABLE
float x = 0;
float y = 0;
float z = 0;
float w = 0;
float x;
float y;
float z;
float w;
#else
float x = 0;
float y = 0;