Skip to content

[examples] Fix UI Cellular Automata#5688

Merged
raysan5 merged 1 commit into
raysan5:masterfrom
JordSant:examples/Fix_UI_Cellular_Automata
Mar 24, 2026
Merged

[examples] Fix UI Cellular Automata#5688
raysan5 merged 1 commit into
raysan5:masterfrom
JordSant:examples/Fix_UI_Cellular_Automata

Conversation

@JordSant
Copy link
Copy Markdown
Contributor

Fix bug in computing the red rectangle to draw when the mouse is hovering over: to compute correctly the X coordinate it must be an integer division (i/2) not a floating point division ((float)i/2). Now fixed

@raysan5 raysan5 merged commit 5dd4036 into raysan5:master Mar 24, 2026
17 checks passed
@raysan5
Copy link
Copy Markdown
Owner

raysan5 commented Mar 24, 2026

@JordSant Good catch! Thanks for the review!

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