KhronosGroup / GLSL

GLSL Shading Language Issue Tracker
328 stars 96 forks source link

Mixed up descriptions for rayQueryGetIntersectionObjectRayDirectionEXT and rayQueryGetIntersectionObjectRayOriginEXT in GLSL_EXT_ray_query #143

Closed SaschaWillems closed 3 years ago

SaschaWillems commented 3 years ago

The descriptions for rayQueryGetIntersectionObjectRayDirectionEXT and rayQueryGetIntersectionObjectRayOriginEXT don't match and seem to be mixed up:

    vec3 rayQueryGetIntersectionObjectRayDirectionEXT(rayQueryEXT q, bool committed);

Returns object-space origin of ray for current intersection

    vec3 rayQueryGetIntersectionObjectRayOriginEXT(rayQueryEXT q, bool committed);

Returns object-space direction of ray for current intersection.
dgkoch commented 3 years ago

Thanks for the report!

See #145 for fix.