catch curser in SetCameraMode
This commit is contained in:
parent
db6317eb93
commit
22be6c3b61
|
|
@ -231,6 +231,12 @@ void SetCameraMode(Camera3D *camera, int mode)
|
||||||
{
|
{
|
||||||
camera->swingCounter = 0; // Disable
|
camera->swingCounter = 0; // Disable
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Catch cursor
|
||||||
|
#ifndef CAMERA_STANDALONE
|
||||||
|
// Note: This is engine specific functionality
|
||||||
|
DisableCursor();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns the cameras forward vector (normalized)
|
// Returns the cameras forward vector (normalized)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user