[Scummvm-git-logs] scummvm master -> edf162e280e64d33fe6243b21cb01d7e02ee17af
aquadran
noreply at scummvm.org
Sat Jun 25 22:13:19 UTC 2022
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:
edf162e280 WINTERMUTE: WME3D: Use better named function for vector3d length
Commit: edf162e280e64d33fe6243b21cb01d7e02ee17af
https://github.com/scummvm/scummvm/commit/edf162e280e64d33fe6243b21cb01d7e02ee17af
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2022-06-26T00:13:13+02:00
Commit Message:
WINTERMUTE: WME3D: Use better named function for vector3d length
Changed paths:
engines/wintermute/ad/ad_actor_3dx.cpp
diff --git a/engines/wintermute/ad/ad_actor_3dx.cpp b/engines/wintermute/ad/ad_actor_3dx.cpp
index 7b749c050dc..dc5805dd661 100644
--- a/engines/wintermute/ad/ad_actor_3dx.cpp
+++ b/engines/wintermute/ad/ad_actor_3dx.cpp
@@ -469,7 +469,7 @@ bool AdActor3DX::displayShadowVolume() {
Math::Vector3d lightVector = Math::Vector3d(_shadowLightPos.x() * _scale3D,
_shadowLightPos.y() * _scale3D,
_shadowLightPos.z() * _scale3D);
- float extrusionDepth = lightVector.getMagnitude() * 1.5f;
+ float extrusionDepth = lightVector.length() * 1.5f;
lightVector.normalize();
getShadowVolume()->setColor(_shadowColor);
More information about the Scummvm-git-logs
mailing list