recp / cglm

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

Fixed glms_mat4_ins3 bug. #345

Closed telephone001 closed 1 year ago

telephone001 commented 1 year ago

Pat4_ins3 should copy mat3s to upper left mat4s. Previously, it just created an uninitialized mat4s r and put the mat3 into that and returned it. Now it takes in a mat4s argument and copies the mat3s to that.

recp commented 1 year ago

Hi @telephone001,

Nice catch, many thanks, the PR is merged 🚀