fart/shapes/Box.h
Josh Holtrop 22519b5a0c fixed bug in shapes/Plane, added shapes/Box
git-svn-id: svn://anubis/fart/trunk@119 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-02-17 05:20:38 +00:00

20 lines
277 B
C++

#ifndef BOX_H
#define BOX_H BOX_H
#include "Shape.h"
class Box : public Shape
{
public:
Box(refptr<Vector> size);
IntersectList intersect(const Ray & ray);
Vector getNormalAt(const Vector & pt);
protected:
Vector m_size;
};
#endif