recp / cglm

📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

double types for vectors

STCollier opened this issue · comments

commented

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.

Hi @STCollier,

Thanks for your feedbacks, Currently cglm doesn't have double types yet. There is an issue about this: #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

commented

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).

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