[Scummvm-git-logs] scummvm master -> 110ce8fa2151f94b951f82962d1ff491612d8ce4

whoozle noreply at scummvm.org
Thu Jul 30 01:09:53 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
110ce8fa21 PHOENIXVR: Fix lens flare effect angles


Commit: 110ce8fa2151f94b951f82962d1ff491612d8ce4
    https://github.com/scummvm/scummvm/commit/110ce8fa2151f94b951f82962d1ff491612d8ce4
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2026-07-30T02:09:36+01:00

Commit Message:
PHOENIXVR: Fix lens flare effect angles

Changed paths:
    engines/phoenixvr/phoenixvr.cpp


diff --git a/engines/phoenixvr/phoenixvr.cpp b/engines/phoenixvr/phoenixvr.cpp
index 818eb97f86e..3b40c8d109f 100644
--- a/engines/phoenixvr/phoenixvr.cpp
+++ b/engines/phoenixvr/phoenixvr.cpp
@@ -1499,8 +1499,8 @@ void PhoenixVREngine::renderLensflare() {
 	if (!_lensflareActive)
 		return;
 
-	const float viewX = kPi2 - _angleY.angle();
-	const float viewY = _angleX.angle();
+	const float viewY = -_angleY.angle();
+	const float viewX = _angleX.angle();
 	const float lensX = _lensflareX;
 	const float lensY = _lensflareY;
 	const float deltaX = lensX - viewX;




More information about the Scummvm-git-logs mailing list