This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
#ifndef _MATERIAL_HPP_
|
|
#define _MATERIAL_HPP_
|
|
|
|
#include "texture.hpp"
|
|
|
|
struct Material
|
|
{
|
|
inline void use() const;
|
|
|
|
const Texture *texture;
|
|
};
|
|
|
|
void Material::use() const
|
|
{
|
|
texture->use();
|
|
};
|
|
|
|
#endif // _MATERIAL_HPP_
|