1 #ifndef VTESTBED_GRAPHICS_COLOREDOBJECT_HH 2 #define VTESTBED_GRAPHICS_COLOREDOBJECT_HH 4 #include <Magnum/GL/Mesh.h> 5 #include <Magnum/Resource.h> 6 #include <Magnum/Shaders/Phong.h> 8 #include <vtestbed/graphics/types.hh> 23 Magnum::ResourceKey meshId,
24 Magnum::ResourceKey materialId,
26 DrawableGroup3D* group
31 const Magnum::Matrix4& transformationMatrix,
35 Magnum::Resource<Magnum::GL::Mesh> _mesh;
36 Magnum::Resource<Magnum::Shaders::Phong> _shader;
37 Vector3 _ambientColor;
38 Vector3 _diffuseColor;
39 Vector3 _specularColor;
47 #endif // vim:filetype=cpp