[Scummvm-git-logs] scummvm master -> bd0c0ba5f4e854fff43d4683728c46b021cd87c8

aquadran noreply at scummvm.org
Sat Oct 19 21:49:07 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:
bd0c0ba5f4 WINTERMUTE: Small sync with original code


Commit: bd0c0ba5f4e854fff43d4683728c46b021cd87c8
    https://github.com/scummvm/scummvm/commit/bd0c0ba5f4e854fff43d4683728c46b021cd87c8
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-10-19T23:49:03+02:00

Commit Message:
WINTERMUTE: Small sync with original code

Changed paths:
    engines/wintermute/base/gfx/xanimation.cpp


diff --git a/engines/wintermute/base/gfx/xanimation.cpp b/engines/wintermute/base/gfx/xanimation.cpp
index 8252b1b52b2..c45aa47fe87 100644
--- a/engines/wintermute/base/gfx/xanimation.cpp
+++ b/engines/wintermute/base/gfx/xanimation.cpp
@@ -244,6 +244,11 @@ bool Animation::loadAnimationKeyData(XAnimationKeyObject *animationKey) {
 			scaleKey->_scale = scaleVec;
 			rotationKey->_rotation = qRot;
 
+			// negate for opengl
+			rotationKey->_rotation._x = -(-rotationKey->_rotation._x);
+			rotationKey->_rotation._y = -(-rotationKey->_rotation._y);
+			rotationKey->_rotation._z = -(-rotationKey->_rotation._z);
+
 			_posKeys.push_back(positionKey);
 			_scaleKeys.push_back(scaleKey);
 			_rotKeys.push_back(rotationKey);




More information about the Scummvm-git-logs mailing list