Free Electron
Static Public Member Functions | List of all members
fe::ext::RaySphereIntersect< T > Class Template Reference

Find intersection between ray and sphere. More...

#include <RaySphereIntersect.h>

Static Public Member Functions

static T solve (const Vector< 3, T > &center, const T radius, const Vector< 3, T > &origin, const Vector< 3, T > &direction)
 
static void resolveContact (const Vector< 3, T > &center, const T radius, const Vector< 3, T > &origin, const Vector< 3, T > &direction, const T range, Vector< 3, T > &intersection, Vector< 3, T > &normal)
 

Detailed Description

template<typename T>
class fe::ext::RaySphereIntersect< T >

Find intersection between ray and sphere.


The documentation for this class was generated from the following file: