summaryrefslogtreecommitdiff
path: root/include/egg
diff options
context:
space:
mode:
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;