From d674741979291d17f8c96c82e61015c7098de30b Mon Sep 17 00:00:00 2001 From: hyzboy Date: Mon, 9 Nov 2020 19:00:58 +0800 Subject: [PATCH] add space file --- example/GUI/CMakeLists.txt | 3 ++- example/GUI/control_point_2d.cpp | 0 example/Vulkan/DeferredModel.cpp | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 example/GUI/control_point_2d.cpp diff --git a/example/GUI/CMakeLists.txt b/example/GUI/CMakeLists.txt index b244edfa..20d143bd 100644 --- a/example/GUI/CMakeLists.txt +++ b/example/GUI/CMakeLists.txt @@ -9,4 +9,5 @@ set_property(TARGET ${name} PROPERTY FOLDER "ULRE/Example/GUI") endmacro() -CreateProject(00.align_test align_test.cpp) +CreateProject(00.control_point_2d control_point_2d.cpp) +CreateProject(01.align_test align_test.cpp) diff --git a/example/GUI/control_point_2d.cpp b/example/GUI/control_point_2d.cpp new file mode 100644 index 00000000..e69de29b diff --git a/example/Vulkan/DeferredModel.cpp b/example/Vulkan/DeferredModel.cpp index 1fdafa5c..b73a6452 100644 --- a/example/Vulkan/DeferredModel.cpp +++ b/example/Vulkan/DeferredModel.cpp @@ -168,7 +168,7 @@ private: texture.color =db->LoadTexture2D(OS_TEXT("res/image/Brickwall/Albedo.Tex2D")); texture.normal =db->LoadTexture2D(OS_TEXT("res/image/Brickwall/Normal.Tex2D")); - + VkSamplerCreateInfo sampler_create_info= { VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO, @@ -215,12 +215,12 @@ private: ro_plane=CreateRenderablePlane(db,mtl,&pci); } - + { struct CubeCreateInfo cci; ro_cube=CreateRenderableCube(db,mtl,&cci); } - + { ro_sphere=CreateRenderableSphere(db,mtl,64); }