Skip to content

Optimizations and added a target FPS#15

Open
millennIumAMbiguity wants to merge 2 commits intoDinoZ1729:masterfrom
millennIumAMbiguity:master
Open

Optimizations and added a target FPS#15
millennIumAMbiguity wants to merge 2 commits intoDinoZ1729:masterfrom
millennIumAMbiguity:master

Conversation

@millennIumAMbiguity
Copy link
Copy Markdown
Contributor

Optimes some parts of the code and replaced the sleep with code that waits until the next draw time.

@hlouzada
Copy link
Copy Markdown
Contributor

hlouzada commented Feb 8, 2021

Hi @millennIumAMbiguity I added the sleep and was planning to substitute it with #13. Do u think this is better than my approach? Or a merge between them? I was studying game loops and was trying to get a similar approach.

@millennIumAMbiguity
Copy link
Copy Markdown
Contributor Author

Hi @hlouzada, I am unaware of your method. However, "high_resolution_clock" sounds like it's more accurate than my method.

Optimes some parts of the code and replaced the sleep with code that waits until the next draw time.
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