[Scummvm-git-logs] scummvm master -> 0e52c23375dfeca1e28341f7490186bb3bc40019
aquadran
noreply at scummvm.org
Mon Oct 14 05:29:31 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
0e52c23375 WINTERMUTE: Small simplification in BaseObject::getMatrix
Commit: 0e52c23375dfeca1e28341f7490186bb3bc40019
https://github.com/scummvm/scummvm/commit/0e52c23375dfeca1e28341f7490186bb3bc40019
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2024-10-14T07:29:27+02:00
Commit Message:
WINTERMUTE: Small simplification in BaseObject::getMatrix
Changed paths:
engines/wintermute/base/base_object.cpp
diff --git a/engines/wintermute/base/base_object.cpp b/engines/wintermute/base/base_object.cpp
index 0718ae1c00f..54c5d66bff0 100644
--- a/engines/wintermute/base/base_object.cpp
+++ b/engines/wintermute/base/base_object.cpp
@@ -1374,8 +1374,7 @@ bool BaseObject::getMatrix(Math::Matrix4 *model, Math::Vector3d *pos) {
pos = &_posVector;
}
DXVector3 posVect = DXVector3(pos->x(), pos->y(), pos->z());
- model->transpose();
- DXMatrix modelMatrix = DXMatrix(model->getData());
+ DXMatrix modelMatrix;
DXMatrix matRot, matScale, matTrans;
DXMatrixRotationYawPitchRoll(&matRot, degToRad(_angle), 0, 0);
More information about the Scummvm-git-logs
mailing list