feat: add class files

This commit is contained in:
izenynn
2025-02-17 21:18:42 +01:00
parent b427779b02
commit d2be70c2ba
8 changed files with 57 additions and 0 deletions

1
src/buffer.cpp Normal file
View File

@@ -0,0 +1 @@
#include "buffer.h"

10
src/buffer.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef BUFFER_H_
#define BUFFER_H_
#include "../lib/glm/glm.hpp"
struct Buffer {
glm::vec3 position{ 0.0f, 0.0f, 0.0f };
};
#endif // BUFFER_H_

1
src/shader.cpp Normal file
View File

@@ -0,0 +1 @@
#include "shader.h"

10
src/shader.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef SHADER_H_
#define SHADER_H_
#include "../lib/glm/glm.hpp"
struct Shader {
glm::vec3 position{ 0.0f, 0.0f, 0.0f };
};
#endif // SHADER_H_

1
src/vertex.cpp Normal file
View File

@@ -0,0 +1 @@
#include "vertex.h"

10
src/vertex.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef VERTEX_H_
#define VERTEX_H_
#include "../lib/glm/glm.hpp"
struct Vertex {
glm::vec3 position{ 0.0f, 0.0f, 0.0f };
};
#endif // VERTEX_H_