X-Git-Url: https://eleni.mutantstargoat.com/git/?p=hair;a=blobdiff_plain;f=src%2Fmesh.h;fp=src%2Fmesh.h;h=ec93ab1a4271d25c2d71bd8805e7ef8b37592cb6;hp=7ca25c21055492beb32b24a74f408a8ca9b4314a;hb=54c5e4ce2bbf4cd1e0195cdc2238836e7ce420c0;hpb=a8a7d557cf22c2bf16eb333d33a6c7c68f532482 diff --git a/src/mesh.h b/src/mesh.h index 7ca25c2..ec93ab1 100644 --- a/src/mesh.h +++ b/src/mesh.h @@ -19,6 +19,14 @@ struct Aabb { Vec3 v1; }; +struct Material { + Vec3 diffuse; + Vec3 specular; + float shininess; + + unsigned int tex; +}; + class Mesh { private: unsigned int vbo_vertices; @@ -34,6 +42,7 @@ public: ~Mesh(); Aabb bbox; + Material mtl; std::string name; std::vector indices;