16 lines
191 B
C++
16 lines
191 B
C++
|
|
#ifndef SHAPE_H
|
|
#define SHAPE_H SHAPE_H
|
|
|
|
#include "util/Solver.h"
|
|
#include "util/Ray.h"
|
|
|
|
class Shape
|
|
{
|
|
public:
|
|
virtual Solver::Result intersect(const Ray & ray) = 0;
|
|
};
|
|
|
|
#endif
|
|
|