use glad
This commit is contained in:
parent
3072248158
commit
15e2abbada
12 changed files with 4498 additions and 4804 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <stb_image.h>
|
||||
|
||||
#include <gload.h>
|
||||
#include <glad/glad.h>
|
||||
|
||||
#include <stb_vorbis.c>
|
||||
#include <dr_mp3.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue