diff --git a/code/PostProcessing/ConvertToLHProcess.cpp b/code/PostProcessing/ConvertToLHProcess.cpp index 0d5f3dc42..5524b31dc 100644 --- a/code/PostProcessing/ConvertToLHProcess.cpp +++ b/code/PostProcessing/ConvertToLHProcess.cpp @@ -241,7 +241,7 @@ void MakeLeftHandedProcess::ProcessAnimation(aiNodeAnim *pAnim) { // Converts a single camera to left handed coordinates. void MakeLeftHandedProcess::ProcessCamera( aiCamera* pCam) { - pCam->mLookAt = 2.0f * pCam->mPosition - pCam->mLookAt; + pCam->mLookAt = ai_real(2.0f) * pCam->mPosition - pCam->mLookAt; } #endif // !! ASSIMP_BUILD_NO_MAKELEFTHANDED_PROCESS