#include "Intersect.h" Intersect::Intersect(refptr shape1, refptr shape2) { m_shape1 = shape1; m_shape2 = shape2; } Shape::IntersectList Intersect::intersect(const Ray & ray) { IntersectList res; IntersectList res1 = m_shape1->intersect(ray); IntersectList res2 = m_shape2->intersect(ray); return res; } Vector Intersect::getNormalAt(const Vector & pt) { /* TODO: finish */ return Vector(0, 0, 0); }