설정 끝
This commit is contained in:
		
							
								
								
									
										7
									
								
								.clang-format
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								.clang-format
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | |||||||
|  | # Google C/C++ Code Style Settings | ||||||
|  |  | ||||||
|  | Language: Cpp | ||||||
|  | BasedOnStyle: Google | ||||||
|  | Standard: c++20 | ||||||
|  | UseTab: Never | ||||||
|  | ColumnLimit: 80 | ||||||
							
								
								
									
										14
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | root = true | ||||||
|  |  | ||||||
|  | [*.{cpp,h,hpp,c}] | ||||||
|  | indent_style = space | ||||||
|  | indent_size = 2 | ||||||
|  | insert_final_newline = true | ||||||
|  | tab_width = 2 | ||||||
|  | charset = utf-8 | ||||||
|  | trim_trailing_whitespace = true | ||||||
|  |  | ||||||
|  | [*.{vert,frag,glsl}] | ||||||
|  | indent_style = space | ||||||
|  | indent_size = 4 | ||||||
|  | tab_width = 4 | ||||||
							
								
								
									
										12
									
								
								src/main.cpp
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								src/main.cpp
									
									
									
									
									
								
							| @@ -1,14 +1,14 @@ | |||||||
| #include <iostream> | #include <GLFW/glfw3.h> | ||||||
| #include <vulkan/vulkan.h> | #include <vulkan/vulkan.h> | ||||||
|  |  | ||||||
|  | #include <cmath> | ||||||
|  | #include <cstdint> | ||||||
| #include <filesystem> | #include <filesystem> | ||||||
| #include <glm/glm.hpp> | #include <glm/glm.hpp> | ||||||
| #include <GLFW/glfw3.h> |  | ||||||
| #include <cstdint> |  | ||||||
| #include <cmath> |  | ||||||
| #include <gsl/gsl> | #include <gsl/gsl> | ||||||
|  | #include <iostream> | ||||||
|  |  | ||||||
| int main(std::int32_t argc, gsl::zstring* argv) | int main(std::int32_t argc, gsl::zstring* argv) { | ||||||
| { |  | ||||||
|   gsl::span<gsl::zstring> arguments(argv, argc); |   gsl::span<gsl::zstring> arguments(argv, argc); | ||||||
|   std::sort(arguments.begin(), arguments.end()); |   std::sort(arguments.begin(), arguments.end()); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user