recp / cglm

📽 Highly Optimized 2D / 3D Graphics Math (glm) for C
MIT License
2.32k stars 231 forks source link

double types for vectors #400

Open STCollier opened 7 months ago

STCollier commented 7 months ago

Hello,

Are there types like dvec3 that use doubles instead of floats for increased precision? I know that https://github.com/g-truc/glm does that, but I'm wondering if cglm also has something similar. If not, this would be a great addition.

recp commented 7 months ago

Hi @STCollier,

Thanks for your feedbacks, Currently cglm doesn't have double types yet. There is an issue about this: https://github.com/recp/cglm/issues/196 which propose the implementation ( feedbacks are welcome ). Currently I've some TODOs to finish in cglm and others libraries, then it can be implemented

Thanks

measuredweighed commented 4 months ago

Just adding a +1 to this. I'd be very interested in seeing double support. Thanks for all your hard work (and the wonderful library).

recp commented 3 months ago

@measuredweighed many thanks for the feedback, hope we'll have it asap.