Free Electron
|
Find intersection between ray and sphere. More...
#include <RaySphereIntersect.h>
Static Public Member Functions | |
static T | solve (const Vector< 3, T > ¢er, const T radius, const Vector< 3, T > &origin, const Vector< 3, T > &direction) |
static void | resolveContact (const Vector< 3, T > ¢er, const T radius, const Vector< 3, T > &origin, const Vector< 3, T > &direction, const T range, Vector< 3, T > &intersection, Vector< 3, T > &normal) |
Find intersection between ray and sphere.