Conversation
|
I have to think a bit about this. Generally speaking I totally agree this is useful. I just don't know if I like the names, as they are not consistent with the existing name schema. I like your name schema, but with it, I would need to rename everything. Do you think just exporting the template that generates all the types would be good enough for you? |
Probably not for me personally, i just use my glm fork, i don't want to have to remember which module contains which vector type what about vec2s/vec2us & vec2b/vec2ub? |
Yes that is probably a good idea.
I thought about it as well until I realized that vec2b is already a boolean vector. |
|
vec2c for char?
…On Sat, 18 Sept 2021 at 19:27, Arne Döring ***@***.***> wrote:
i just use my glm fork
Yes that is probably a good idea.
what about vec2s/vec2us & vec2b/vec2ub?
I thought about it as well until I realized that vec2b is already a
boolean vector.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#56 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3UXEOOXNRHW2MBQS2SLMLUCTKZHANCNFSM47IWBIJQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
|
I decided to stay undecided on this. Since you got your solution for your project fast resolution isn't important. If you get other people to agree that this is a good idea, I will go with it.. |
These are useful for 2d/3d grid based systems, e.g. a position within a minecraft voxel chunk only requires a vec3ui8
Once you've got a couple entities you start to see real cache performance improvements if you're shrinking your vector type by 4x