Newer
Older
#include "../tools/Mat4.h"
#include "../tools/Transformation.h"
public:
Group(const util::Transformation& trans);
Group(const util::Mat4& matrix);
std::shared_ptr<cam::Hit> intersect(const cam::Ray& r) const override;
// protected:TODO
void add(const std::shared_ptr<shapes::Shape>& shape);
private:
std::vector<std::shared_ptr<Shape>> shapeList;
util::Transformation transform;