Method GetNearestPointRayRay
GetNearestPointRayRay(Ray, Ray)
Calculates and returns the nearest point between two rays.
Declaration
public static Vector3 GetNearestPointRayRay(Ray a, Ray b)
Parameters
Type | Name | Description |
---|---|---|
Ray | a | First ray. |
Ray | b | Second ray. |
Returns
Type | Description |
---|---|
Vector3 | The nearest point between the two rays |