Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct HandmadeMath.h type capitalization in sokol-shdc.md #102

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danielchasehooper
Copy link

No description provided.

@floooh
Copy link
Owner

floooh commented Aug 31, 2023

Hmm, this is actually wrong though? Those capitalized names are constructor functions, not typenames (e.g. see: https://github.com/floooh/sokol-samples/blob/578d71daed073dbeb2e5e3d74a3485cf46733cd7/sapp/HandmadeMath.h#L526)

PS: ah looks like this is a change from HandmadeMath "version 2":

https://github.com/HandmadeMath/HandmadeMath/blob/6cf6226c57fcb083d713b9b5e5e8cde14edb7075/HandmadeMath.h#L222

...I'm not planning to update to this latest version anytime soon though (I'll probably create a sokol_math.h header instead).

I'll set the PR to draft, but will keep it open until I made a decision whether I'll update the sokol-samples to the latest HandmadeMath.h headers or not.

@floooh floooh changed the title Correct HandmadeMath.h type capitalization in sokol-shdc.md [Draft] Correct HandmadeMath.h type capitalization in sokol-shdc.md Aug 31, 2023
@floooh floooh changed the title [Draft] Correct HandmadeMath.h type capitalization in sokol-shdc.md Correct HandmadeMath.h type capitalization in sokol-shdc.md Aug 31, 2023
@floooh floooh marked this pull request as draft August 31, 2023 09:00
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