Open wrapperup opened 4 weeks ago
This sounds like a great idea. I wrote this before writing much other Odin code, so I was barely aware of the built-ins or whether they would be layout-wise compatible.
I saw your other PR, so if you want to give this a try as well feel free. Otherwise I will look at it soon. :)
Hi, I've been messing with this, it's awesome. Thank you so much for taking the time to make this available in Odin!
It would be nice if some of the vector, rotation and matrix types were mapped to the native Odin versions, ie.:
PxVec3
->[3]f32
PxQuat
->quaternion128
It would be a nice ergonomic improvement, currently I just
transmute
them to the Odin equivalents. Not sure if it makes sense, but some other packages do that (including vendor ones like raylib).