Open npruehs opened 9 years ago
Implement a line-sphere intersection test with the following signature:
public static bool Intersects(this LineSegment3F line, SphereF sphere)
Call that method from
public static bool Intersects(this SphereF sphere, LineSegment3F line)
If you can, provide an overload with an out parameter containing the intersection point(s).
Write at least one unit test illustrating your solution, and/or add any reference links as comments.
Implement a line-sphere intersection test with the following signature:
Call that method from
If you can, provide an overload with an out parameter containing the intersection point(s).
Write at least one unit test illustrating your solution, and/or add any reference links as comments.