Closed nitrix closed 8 months ago
Fixes what appears to me like an accidental copy-paste mistake with the dir parameter of the struct API for glms_ray_at(). Introduced in https://github.com/recp/cglm/commit/73a4fc76d7a91d65ab4619e20a6833b0111fd402 (v0.9.3), discovered during compilation by Clang warnings.
dir
glms_ray_at()
[build] ***/vendor/cglm/include/cglm/struct/ray.h:76:33: warning: unused parameter 'dir' [-Wunused-parameter] [build] glms_ray_(at)(vec3s orig, vec3s dir, float t) { [build] ^ [build] 1 warning generated.
Hi @nitrix,
Thanks for the catch and your contributions, the PR is merged 🚀
Fixes what appears to me like an accidental copy-paste mistake with the
dir
parameter of the struct API forglms_ray_at()
. Introduced in https://github.com/recp/cglm/commit/73a4fc76d7a91d65ab4619e20a6833b0111fd402 (v0.9.3), discovered during compilation by Clang warnings.