};
struct Material {
-// std::string name; <-TODO or id
-
Vec3 diffuse;
Vec3 specular;
float shininess;
Texture *dtex; // diffuse
+ std::string name;
};
class Object {
public:
Mat4 transform;
- Material material;
+ Material *material;
Mesh *mesh;
Object();