Skip to content

implement get fps#390

Merged
emoon merged 4 commits intoemoon:masterfrom
Luca00casati:master
Nov 8, 2025
Merged

implement get fps#390
emoon merged 4 commits intoemoon:masterfrom
Luca00casati:master

Conversation

@Luca00casati
Copy link
Copy Markdown
Contributor

there is doc to add, i will added tomorrow

@emoon
Copy link
Copy Markdown
Owner

emoon commented Nov 6, 2025

Thanks for the PR! Now when you have added this I think it makes sense to be able to just get back the regular time as well instead of just fps. Do you think you can add that while at it?

@Luca00casati
Copy link
Copy Markdown
Contributor Author

so something like this?
double GetTime(void); // Get elapsed time in seconds since InitWindow() stolen from raylib

@emoon
Copy link
Copy Markdown
Owner

emoon commented Nov 7, 2025

I think perhaps get_delta_time() here would be best as it's the delta that has passed between the updates.

@emoon emoon merged commit c64e53d into emoon:master Nov 8, 2025
4 checks passed
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