feat: add class files
This commit is contained in:
		
							
								
								
									
										1
									
								
								src/buffer.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								src/buffer.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| #include "buffer.h" | ||||
							
								
								
									
										10
									
								
								src/buffer.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/buffer.h
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										1
									
								
								src/shader.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| #include "shader.h" | ||||
							
								
								
									
										10
									
								
								src/shader.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/shader.h
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										1
									
								
								src/vertex.cpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| #include "vertex.h" | ||||
							
								
								
									
										10
									
								
								src/vertex.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/vertex.h
									
									
									
									
									
										Normal 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_ | ||||
		Reference in New Issue
	
	Block a user
	 izenynn
					izenynn