X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FShape.hh;h=d21e84d464d8f3c4cca0788d76e2c167b8a11ced;hp=c059d46bff1b1ec563dc471cebe13f84c3b3da7b;hb=e0c0a3b5e7337cde55e520801d2e59e03dc97d9c;hpb=ed5fcf5f1357fc42749408f705e9ec55531ff006 diff --git a/src/Moof/Shape.hh b/src/Moof/Shape.hh index c059d46..d21e84d 100644 --- a/src/Moof/Shape.hh +++ b/src/Moof/Shape.hh @@ -53,13 +53,17 @@ public: * returned if there is no contact. */ virtual bool intersectRay(const Ray& ray, - typename Ray::Contact& hit) + typename Ray::Contact& hit) const { return false; } }; +typedef Shape<2> Shape2; +typedef Shape<3> Shape3; + + } // namespace Mf #endif // _MOOF_SHAPE_HH_