1
0
Fork 0
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.
matabstrix/src/material.hpp

19 lines
223 B
C++

#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_