Initial commit

This commit is contained in:
2026-09-27 01:33:35 +02:00
commit 3ac329a21b
1185 changed files with 543634 additions and 0 deletions

22
src/material.hpp Normal file
View File

@@ -0,0 +1,22 @@
#ifndef FAN_MATERIAL_HPP_
#define FAN_MATERIAL_HPP_
#include "shader.hpp"
#include "texture.hpp"
namespace Fan
{
struct Material
{
Rc<Shader> shader;
Rc<Texture> diffuse_map;
Rc<Texture> specular_map;
float shininess{32.0f};
void bind() const;
};
} // namespace Fan
#endif // FAN_MATERIAL_HPP_