summaryrefslogtreecommitdiff
path: root/include/egg
diff options
context:
space:
mode:
authorelijah-thomas774 <elijahthomas774@gmail.com>2025-03-20 22:05:01 -0400
committerelijah-thomas774 <elijahthomas774@gmail.com>2025-03-20 22:05:01 -0400
commite2c2ec6c2dc0da586adcdfa2c71e54466d39dff0 (patch)
treece5e3c87abd03799a70929168f3c5be01004cefc /include/egg
parent5a84a6248a239b6c2e1571b2d9948e427b5b5aed (diff)
fix EGG::Matrix34f Copy assignment
Diffstat (limited to 'include/egg')
-rw-r--r--include/egg/math/eggMatrix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/egg/math/eggMatrix.h b/include/egg/math/eggMatrix.h
index 89060283..a99a0698 100644
--- a/include/egg/math/eggMatrix.h
+++ b/include/egg/math/eggMatrix.h
@@ -24,6 +24,11 @@ struct Matrix34f {
return arr[i];
}
+ Matrix34f &operator=(const Matrix34f &other) {
+ copyFrom(other);
+ return *this;
+ }
+
void rotateBaseX(Vector3f &, Matrix34f &);
void rotateVectorChange(Vector3f &, Vector3f &, Matrix34f &);
void inverseTo(Matrix34f &to) const;