feat: assignment 2
This commit is contained in:
		
							
								
								
									
										17
									
								
								src/state.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/state.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| #ifndef STATE_H_ | ||||
| #define STATE_H_ | ||||
|  | ||||
| #include <memory> | ||||
| #include "../lib/glm/glm.hpp" | ||||
|  | ||||
| class Shader; | ||||
|  | ||||
| class State { | ||||
| public: | ||||
| 	static std::shared_ptr<Shader> defaultShader; | ||||
| 	static glm::mat4	       projectionMatrix; | ||||
| 	static glm::mat4	       viewMatrix; | ||||
| 	static glm::mat4	       modelMatrix; | ||||
| }; | ||||
|  | ||||
| #endif // STATE_H_ | ||||
		Reference in New Issue
	
	Block a user