]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Shape.hh
destroyed global classes; view hierarchy instead
[chaz/yoink] / src / Moof / Shape.hh
index c059d46bff1b1ec563dc471cebe13f84c3b3da7b..d21e84d464d8f3c4cca0788d76e2c167b8a11ced 100644 (file)
@@ -53,13 +53,17 @@ public:
         * returned if there is no contact.
         */
        virtual bool intersectRay(const Ray<D>& ray,
         * returned if there is no contact.
         */
        virtual bool intersectRay(const Ray<D>& ray,
-                                                         typename Ray<D>::Contact& hit)
+                                                         typename Ray<D>::Contact& hit) const
        {
                return false;
        }
 };
 
 
        {
                return false;
        }
 };
 
 
+typedef Shape<2>       Shape2;
+typedef Shape<3>       Shape3;
+
+
 } // namespace Mf
 
 #endif // _MOOF_SHAPE_HH_
 } // namespace Mf
 
 #endif // _MOOF_SHAPE_HH_
This page took 0.017004 seconds and 4 git commands to generate.