mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 06:13:10 +00:00
switch to enum (#5223)
This commit is contained in:
parent
6ed61e107b
commit
e5f809f534
@ -49,7 +49,7 @@ int main(void)
|
||||
//----------------------------------------------------------------------------------
|
||||
UpdateCamera(&camera, CAMERA_FREE);
|
||||
|
||||
if (IsKeyPressed('Z')) camera.target = (Vector3){ 0.0f, 0.0f, 0.0f };
|
||||
if (IsKeyPressed(KEY_Z)) camera.target = (Vector3){ 0.0f, 0.0f, 0.0f };
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
// Draw
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user