mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +00:00
Merge pull request #402 from nitrix/fix/struct-api-ray-at
Struct API glms_ray_at incorrect dir param.
This commit is contained in:
@@ -75,7 +75,7 @@ CGLM_INLINE
|
||||
vec3s
|
||||
glms_ray_(at)(vec3s orig, vec3s dir, float t) {
|
||||
vec3s r;
|
||||
glm_ray_at(orig.raw, orig.raw, t, r.raw);
|
||||
glm_ray_at(orig.raw, dir.raw, t, r.raw);
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user