Ray.At

Vec3 At(float percent)

Gets a point along the ray! This is basically just position + direction*percent. If Ray.direction is normalized, then percent is functionally distance, and can be used to find the point a certain distance out along the ray.

   
float percent How far along the ray should we get the point at? This is in multiples of Ray.direction’s magnitude. If Ray.direction is normalized, this is functionally the distance.
RETURNS: Vec3 The point at position + direction*percent.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!