charles/src/material.h

25 lines
343 B
C
Raw Normal View History

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:
Color get_color() const;
2013-09-11 08:56:28 -07:00
void set_color(const Color &c);
private:
Color color;
};
#endif