2013-09-11 08:56:28 -07:00
|
|
|
/* material.h
|
|
|
|
*
|
|
|
|
* Materials are applied to shapes and determine color, texture mapping, shading, etc.
|
|
|
|
*
|
|
|
|
* Eryn Wells <eryn@erynwells.me>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MATERIAL_H__
|
|
|
|
#define __MATERIAL_H__
|
|
|
|
|
|
|
|
#include "basics.h"
|
|
|
|
|
|
|
|
|
|
|
|
class Material
|
|
|
|
{
|
|
|
|
public:
|
2013-09-11 09:05:27 -07:00
|
|
|
Color get_color() const;
|
2013-09-11 08:56:28 -07:00
|
|
|
void set_color(const Color &c);
|
|
|
|
|
|
|
|
private:
|
|
|
|
Color color;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|