DRay2
public DVector2 Origin
Language: C#
The origin point of the ray.
public DVector2 Direction
Language: C#
The direction of the ray.
public double Length
Language: C#
The length of the ray.
public DRay2(DVector2 origin, DVector2 direction, double length = float.PositiveInfinity)
Language: C#
Initializes a new instance of the [
] struct. Parameters:
- origin: The origin point of the ray.
- direction: The direction of the ray.
- length: The length of the ray.