From ef746985fb230a9a1f971d9d66a7c4553f8a5e92 Mon Sep 17 00:00:00 2001 From: Richard Knight Date: Sun, 29 Jul 2018 13:59:16 +0100 Subject: [PATCH] Slight reorganise to fit in with stb reqs --- README.md | 8 ++------ fast_obj.c | 30 ------------------------------ test.cpp => test/test.cpp | 0 3 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 fast_obj.c rename test.cpp => test/test.cpp (100%) diff --git a/README.md b/README.md index 7ade1bb..bd37abd 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,8 @@ # fast_obj -Because the world needs another OBJ loader. Much faster (5-10x) than other libraries, but much -less tested. If you want a stable well tested library, I'd probably go elsewhere for now. - +Because the world needs another OBJ loader. Single header library, should compile without warnings in both C89 or C++. - -Code pulled out of a larger project and massaged until it compiled, so if it looks a bit wierd in -places, that's why! +Much faster (5-10x) than other libraries tested. To use: diff --git a/fast_obj.c b/fast_obj.c deleted file mode 100644 index b39be18..0000000 --- a/fast_obj.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * - * MIT License - * - * Copyright (c) 2018 Richard Knight - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - */ - -#define FAST_OBJ_IMPLEMENTATION -#include "fast_obj.h" - - diff --git a/test.cpp b/test/test.cpp similarity index 100% rename from test.cpp rename to test/test.cpp