Skip to content

Conversation

@RobinsAviary
Copy link
Contributor

Hello! I noticed core_3d_camera_free uses a char in place of the constants that it is supposed to be using. I don't see this repeated in other examples, so I think it would be better to replace it with the constant to prevent future confusion.

@raysan5 raysan5 changed the title [examples] core_3d_camera_free uses IsKeyPressed incorrectly [examples] REVIEW: core_3d_camera_free uses IsKeyPressed() incorrectly Oct 1, 2025
@raysan5
Copy link
Owner

raysan5 commented Oct 1, 2025

@RobinsAviary Good catch! Actually, it also used to work this way in the past, long time ago...

@raysan5 raysan5 merged commit e5f809f into raysan5:master Oct 1, 2025
17 checks passed
@RobinsAviary
Copy link
Contributor Author

@RobinsAviary Good catch! Actually, it also used to work this way in the past, long time ago...

The irony is it still technically works, I got it to compile and it still technically functioned the same on my pc LOL. I'm assuming the ascii codes of each char just happen to line up with the constants tho

psxdev pushed a commit to raylib4Consoles/raylib that referenced this pull request Oct 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants