Free Electron
|
Find intersection between ray and curve with radius. More...
#include <RayCurveIntersect.h>
Static Public Member Functions | |
static T | solve (const Vector< 3, T > *a_pVertex, const U32 a_vertCount, const T a_radiusAt0, const T a_radiusAt1, const Vector< 3, T > &a_origin, const Vector< 3, T > &a_direction, T &a_along, Vector< 3, T > &a_intersection) |
Find intersection between ray and curve with radius.
The radius tolerance can be adjusted by distance, useful for picking. The radius0 is at distance 0. The radius0 is at distance 1.