Reworked material
This commit is contained in:
parent
5c51de37a6
commit
bf751c6c69
12 changed files with 251 additions and 32 deletions
|
@ -15,18 +15,7 @@
|
|||
|
||||
namespace oglu
|
||||
{
|
||||
/**
|
||||
* @brief A structure representing an object's material.
|
||||
*/
|
||||
class OGLU_API Material
|
||||
{
|
||||
public:
|
||||
Color ambient = Color::White;
|
||||
Color diffuse = Color::White;
|
||||
Color specular = Color::White;
|
||||
float shininess = 32.0f;
|
||||
};
|
||||
|
||||
class Material;
|
||||
typedef std::shared_ptr<Material> SharedMaterial;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue