diff options
author | aap <aap@papnet.eu> | 2020-12-18 13:50:37 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-18 13:50:37 +0100 |
commit | 55cf1a37cbce81db5b32264cfb4ebfa0a9793017 (patch) | |
tree | 9273d77a5fdffc4bc70cf7439fedb7935da024d6 /src/extras | |
parent | little cleanup and synch on templates and config (diff) | |
parent | Merge pull request #889 from aap/miami (diff) | |
download | re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar.gz re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar.bz2 re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar.lz re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar.xz re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.tar.zst re3-55cf1a37cbce81db5b32264cfb4ebfa0a9793017.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(); |