This commit is contained in:
Nishi 2026-06-01 14:23:48 +09:00
commit 15e2abbada
12 changed files with 4498 additions and 4804 deletions

View file

@ -26,8 +26,10 @@ namespace fishbone {
Impl* impl;
public:
Mesh(fishbone::Renderer* renderer, std::vector<struct fishbone::Vector3> vertices, std::vector<struct fishbone::Vector2> texcoords, std::vector<struct fishbone::Vector3> normals);
Mesh(fishbone::Renderer* renderer, std::vector<struct fishbone::Vector3> vertices, std::vector<struct fishbone::Vector2> texcoords, std::vector<struct fishbone::Vector3> normals, std::vector<int> elements);
~Mesh();
void draw();
};
class Renderer {