Corrected camera issue and added function

This commit is contained in:
raysan5
2015-06-17 19:56:52 +02:00
parent 9572d6c063
commit 024e48850e
2 changed files with 6 additions and 26 deletions

View File

@@ -162,7 +162,7 @@ static void ProcessCamera(Camera *camera, Vector3 *playerPosition)
{
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB) || defined(PLATFORM_RPI)
// Mouse movement detection
if (cameraMode != CAMERA_FREE)
if ((cameraMode != CAMERA_FREE) && (cameraMode != CAMERA_ORBITAL))
{
HideCursor();
@@ -449,28 +449,7 @@ void SetSmoothZoomControl(int smoothZoomControlKey)
smoothZoomControllingKey = smoothZoomControlKey;
}
void SetOrbitalTarget(Vector3 target)
{
internalCamera.target = target;
}