From e2c2ec6c2dc0da586adcdfa2c71e54466d39dff0 Mon Sep 17 00:00:00 2001 From: elijah-thomas774 Date: Thu, 20 Mar 2025 22:05:01 -0400 Subject: fix EGG::Matrix34f Copy assignment --- include/egg/math/eggMatrix.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/egg') 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; -- cgit v1.2.3