git-svn-id: svn://anubis/fart/branches/2009-03-09_intersect_returning_normals@200 7f9b0f55-74a9-4bce-be96-3c2cd072584d
20 lines
348 B
C++
20 lines
348 B
C++
|
|
#ifndef INTERSECT_H
|
|
#define INTERSECT_H INTERSECT_H
|
|
|
|
#include "Shape.h"
|
|
|
|
class Intersect : public Shape
|
|
{
|
|
public:
|
|
Intersect(refptr<Shape> shape1, refptr<Shape> shape2);
|
|
IntersectionList intersect(refptr<Shape> _this, const Ray & ray);
|
|
|
|
protected:
|
|
refptr<Shape> m_shape1;
|
|
refptr<Shape> m_shape2;
|
|
};
|
|
|
|
#endif
|
|
|