From 3871eaede792484909ab62edab0d7c77be5ebd6c Mon Sep 17 00:00:00 2001 From: Joseph Walton-Rivers <joseph@walton-rivers.uk> Date: Mon, 27 Jun 2022 21:29:56 +0100 Subject: [PATCH] remove old testing code --- demo/demo/main.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/demo/demo/main.cpp b/demo/demo/main.cpp index 617b83c..03c32ba 100644 --- a/demo/demo/main.cpp +++ b/demo/demo/main.cpp @@ -41,36 +41,6 @@ #include "GameScene.h" #include "rollball.hpp" -// prototype of resource discovery -void discover(const std::filesystem::path& base) { - - std::vector< std::filesystem::path > contentPacks; - for ( const auto& item : std::filesystem::directory_iterator(base) ) { - - // content pack detection - if ( std::filesystem::is_directory( item ) ) { - auto manifest = item.path() / "manifest.yml"; - if ( std::filesystem::exists( manifest ) ) { - contentPacks.push_back( item.path() ); - } - } - - } - - // what did we find? - std::cerr << "found pack(s): " << std::endl; - for ( auto& pack : contentPacks ) { - std::cerr << pack << std::endl; - } - -} - -static void test_atlas_api() { - // atlas testing - std::vector< fggl::gfx::ImageAtlas<char>::SubImage > images; - auto *atlas = fggl::gfx::ImageAtlas<char>::pack(images); -} - int main(int argc, const char* argv[]) { // DAG initialisation test -- GitLab