diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-12-18 01:57:54 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-18 01:57:54 +0100 |
commit | e9a567034818c5e3338120958061e4a4278d97da (patch) | |
tree | 20293ced9c835a859071400fdbb3338b90159846 /src/extras | |
parent | PreAllocateRwObjects (diff) | |
download | re3-e9a567034818c5e3338120958061e4a4278d97da.tar re3-e9a567034818c5e3338120958061e4a4278d97da.tar.gz re3-e9a567034818c5e3338120958061e4a4278d97da.tar.bz2 re3-e9a567034818c5e3338120958061e4a4278d97da.tar.lz re3-e9a567034818c5e3338120958061e4a4278d97da.tar.xz re3-e9a567034818c5e3338120958061e4a4278d97da.tar.zst re3-e9a567034818c5e3338120958061e4a4278d97da.zip |
Diffstat (limited to 'src/extras')
-rw-r--r-- | src/extras/screendroplets.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extras/screendroplets.cpp b/src/extras/screendroplets.cpp index 2d34cdcb..3f91a754 100644 --- a/src/extras/screendroplets.cpp +++ b/src/extras/screendroplets.cpp @@ -384,9 +384,9 @@ ScreenDroplets::ProcessCameraMovement(void) ms_prevCamUp = camUp; ms_prevCamPos = camPos; - ms_screenMoveDelta.x = -RwV3dDotProduct(&camMat->right, (RwV3d*)&ms_camMoveDelta); - ms_screenMoveDelta.y = RwV3dDotProduct(&camMat->up, (RwV3d*)&ms_camMoveDelta); - ms_screenMoveDelta.z = RwV3dDotProduct(&camMat->at, (RwV3d*)&ms_camMoveDelta); + ms_screenMoveDelta.x = -RwV3dDotProduct(&camMat->right, &ms_camMoveDelta); + ms_screenMoveDelta.y = RwV3dDotProduct(&camMat->up, &ms_camMoveDelta); + ms_screenMoveDelta.z = RwV3dDotProduct(&camMat->at, &ms_camMoveDelta); ms_screenMoveDelta *= 10.0f; ms_screenMoveDist = ms_screenMoveDelta.Magnitude2D(); |