Improved shader definition loader

This commit is contained in:
2022-04-30 22:51:50 +02:00
parent f547ff1b8f
commit f5c680ba3e
7 changed files with 65 additions and 43 deletions

View File

@ -0,0 +1,10 @@
#pragma once
#include <vector>
class Mesh {
public:
std::vector<float> vertices;
std::vector<int> elements;
std::vector<float> uv;
};

View File

@ -1,5 +1,6 @@
#pragma once
#include <glad/glad.h>
#define GLFW_STATIC
#include <GLFW/glfw3.h>