Import std.math.geometry
Ray
struct
Public Struct Ray Implements Equatable, Printable
A half-line, from its Origin along its Direction.
Examples
Expect(Ray(Vec3(0, 0, 0), Vec3(1, 0, 0)).At(3) == Vec3(3, 0, 0))std/math/geometry.fb, line 336
-
Where it starts.
-
Which way it goes, and how far each length of it along the ray is.
-
The point so far along the ray, in lengths of its Direction.
-
Its parts, as "Ray((0, 0, 0), (0, 0, -1))".
Report an issue with this page or with FutureBlitz on GitHub.