diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index d2ae5d14..df90594d 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -35,7 +35,7 @@ endfunction(buildExamples) set(EXAMPLES triangle_demo - base_texture + basic_texture # scene_manager ) diff --git a/examples/base_texture/base_texture.cpp b/examples/basic_texture/basic_texture.cpp similarity index 97% rename from examples/base_texture/base_texture.cpp rename to examples/basic_texture/basic_texture.cpp index bc95f3e1..7e66289d 100644 --- a/examples/base_texture/base_texture.cpp +++ b/examples/basic_texture/basic_texture.cpp @@ -1,10 +1,10 @@ -#include "base_texture.h" +#include "basic_texture.h" -base_texture::base_texture() : aph::BaseApp("base_texture") +basic_texture::base_texture() : aph::BaseApp("base_texture") { } -void base_texture::init() +void basic_texture::init() { // setup window m_wsi = aph::WSI::Create(m_options.windowWidth, m_options.windowHeight); @@ -118,7 +118,7 @@ void base_texture::init() } } -void base_texture::run() +void basic_texture::run() { while(m_wsi->update()) { @@ -164,7 +164,7 @@ void base_texture::run() } } -void base_texture::finish() +void basic_texture::finish() { m_renderer->m_pDevice->waitIdle(); m_pDevice->destroy(m_pVB); @@ -176,7 +176,7 @@ void base_texture::finish() int main(int argc, char** argv) { - base_texture app; + basic_texture app; // parse command { diff --git a/examples/base_texture/base_texture.h b/examples/basic_texture/basic_texture.h similarity index 92% rename from examples/base_texture/base_texture.h rename to examples/basic_texture/basic_texture.h index f7a7761a..26cfc000 100644 --- a/examples/base_texture/base_texture.h +++ b/examples/basic_texture/basic_texture.h @@ -4,10 +4,10 @@ #include "aph_core.hpp" #include "aph_renderer.hpp" -class base_texture : public aph::BaseApp +class basic_texture : public aph::BaseApp { public: - base_texture(); + basic_texture(); void init() override; void run() override;