mirror of
https://github.com/zeldaret/ss
synced 2026-05-23 15:01:38 -04:00
fix EGG::Matrix34f Copy assignment
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -52,10 +52,9 @@ int dAcOPoolCock_c::actorExecute() {
|
||||
position += velocity;
|
||||
position += mStts.mCcMove;
|
||||
updateMatrix();
|
||||
mMtx_c mdl1Transform;
|
||||
mMtx_c mdl2Transform;
|
||||
mdl1Transform = mWorldMtx;
|
||||
mdl2Transform = mWorldMtx;
|
||||
|
||||
mMtx_c mdl1Transform(mWorldMtx);
|
||||
mMtx_c mdl2Transform(mWorldMtx);
|
||||
|
||||
mMtx_c tmp1;
|
||||
mMtx_c tmp2;
|
||||
|
||||
Reference in New Issue
Block a user