|
Free Electron
|
Find intersection between ray and cylinder. More...
#include <RayCylinderIntersect.h>
Static Public Member Functions | |
| static T | solve (const Vector< 3, T > &base, const Vector< 3, T > axis, const T radius, const Vector< 3, T > &origin, const Vector< 3, T > &direction, T &along, Vector< 3, T > &intersection) |
| static void | resolveContact (const Vector< 3, T > &base, const Vector< 3, T > axis, const T radius, const Vector< 3, T > &origin, const Vector< 3, T > &direction, const T range, const T along, const Vector< 3, T > &intersection, Vector< 3, T > &normal) |
Find intersection between ray and cylinder.
"Intersecting a Ray with a Cylinder" by Joseph M. Cychosz and Warren N. Waggenspack, Jr., (3ksnn64@ecn.purdue.edu, mewagg@mewnw.dnet.lsu.edu) in "Graphics Gems IV", Academic Press, 1994
1.8.13