Here are the examples of the csharp api MixedRealityExtension.ProceduralToolkit.Intersect.RayRay(UnityEngine.Vector2, UnityEngine.Vector2, UnityEngine.Vector2, UnityEngine.Vector2, out IntersectionRayRay2) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
19
View Source File : Intersect2D.cs
License : MIT License
Project Creator : microsoft
License : MIT License
Project Creator : microsoft
public static bool RayRay(Ray2D rayA, Ray2D rayB)
{
IntersectionRayRay2 intersection;
return RayRay(rayA.origin, rayA.direction, rayB.origin, rayB.direction, out intersection);
}
19
View Source File : Intersect2D.cs
License : MIT License
Project Creator : microsoft
License : MIT License
Project Creator : microsoft
public static bool RayRay(Ray2D rayA, Ray2D rayB, out IntersectionRayRay2 intersection)
{
return RayRay(rayA.origin, rayA.direction, rayB.origin, rayB.direction, out intersection);
}
19
View Source File : Intersect2D.cs
License : MIT License
Project Creator : microsoft
License : MIT License
Project Creator : microsoft
public static bool RayRay(Vector2 originA, Vector2 directionA, Vector2 originB, Vector2 directionB)
{
IntersectionRayRay2 intersection;
return RayRay(originA, directionA, originB, directionB, out intersection);
}