DubiousEngine
0.2.0
Simple Game Engine
|
A Material in an AC3D file. More...
#include <Ac3d_file_reader.h>
Classes | |
struct | Color |
A simple 3 channel color. More... | |
Public Member Functions | |
Ac3d_material (const Color &color) | |
Constructor - creates a material from the specified color. More... | |
const Color & | color () const |
Accessor - the material color. More... | |
A Material in an AC3D file.
The AC3DMaterial object actually contains a lot of information about color and lighting. However at this point I'm only interested in the base color, so that's all I store.
|
inline |
Constructor - creates a material from the specified color.
color | - [in] the color of the material |
|
inline |
Accessor - the material color.