summaryrefslogtreecommitdiffstats
path: root/Common/interface
diff options
context:
space:
mode:
authormarie-Eve Dubé <mariedube2@gmail.com>2020-05-12 22:35:30 +0000
committermarie-Eve Dubé <mariedube2@gmail.com>2020-05-12 22:35:30 +0000
commit816dca636f5db2a3941752329820cd43c6d5a8cb (patch)
tree158bb81875ba5285401f91bc9b1ca131d17be4e4 /Common/interface
parentMathLib: added matrix-vector multiplications & tests (diff)
downloadDiligentCore-816dca636f5db2a3941752329820cd43c6d5a8cb.tar.gz
DiligentCore-816dca636f5db2a3941752329820cd43c6d5a8cb.zip
Fixing typos in matrix4x4, matrix3x3, matrix2x2 operator==
Diffstat (limited to 'Common/interface')
-rw-r--r--Common/interface/BasicMath.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Common/interface/BasicMath.hpp b/Common/interface/BasicMath.hpp
index cbd3509d..06300908 100644
--- a/Common/interface/BasicMath.hpp
+++ b/Common/interface/BasicMath.hpp
@@ -734,7 +734,7 @@ template <class T> struct Matrix2x2
bool operator==(const Matrix2x2& r) const
{
for (int i = 0; i < 2; ++i)
- for (int j = 0; i < 2; ++i)
+ for (int j = 0; j < 2; ++j)
if ((*this)[i][j] != r[i][j])
return false;
@@ -913,7 +913,7 @@ template <class T> struct Matrix3x3
bool operator==(const Matrix3x3& r) const
{
for (int i = 0; i < 3; ++i)
- for (int j = 0; i < 3; ++i)
+ for (int j = 0; j < 3; ++j)
if ((*this)[i][j] != r[i][j])
return false;
@@ -1107,7 +1107,7 @@ template <class T> struct Matrix4x4
bool operator==(const Matrix4x4& r) const
{
for (int i = 0; i < 4; ++i)
- for (int j = 0; i < 4; ++i)
+ for (int j = 0; j < 4; ++j)
if ((*this)[i][j] != r[i][j])
return false;