geomc 1.0
A c++ linear algebra template library
|
Base class describing N-dimensional shapes which can be intersection-tested with a Ray. More...
#include <geomc/shape/Shape.h>
Public Member Functions | |
Rect< T, 1 > | intersect (const Ray< T, N > &r) const |
Ray/shape intersection. | |
Base class describing N-dimensional shapes which can be intersection-tested with a Ray.
Uses the curiously-recurring template pattern to perform static polymorphism.