1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef OBJECT_H #define OBJECT_H #include <memory> #include "vector.hpp" class Material { Vec3d color; double defuse; double emissive; }; class Object { public: std::shared_ptr<Material> m; }; #endif