diff options
author | sanine <sanine.not@pm.me> | 2023-02-12 23:53:22 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-02-12 23:53:22 -0600 |
commit | f1fe73d1909a2448a004a88362a1a532d0d4f7c3 (patch) | |
tree | ab37ae3837e2f858de2932bcee9f26e69fab3db1 /libs/assimp/test/unit/Main.cpp | |
parent | f567ea1e2798fd3156a416e61f083ea3e6b95719 (diff) |
switch to tinyobj and nanovg from assimp and cairo
Diffstat (limited to 'libs/assimp/test/unit/Main.cpp')
-rw-r--r-- | libs/assimp/test/unit/Main.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libs/assimp/test/unit/Main.cpp b/libs/assimp/test/unit/Main.cpp deleted file mode 100644 index d5049fa..0000000 --- a/libs/assimp/test/unit/Main.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "../../include/assimp/DefaultLogger.hpp" -#include "UnitTestPCH.h" - -#include <math.h> -#include <time.h> - -int main(int argc, char *argv[]) { - ::testing::InitGoogleTest(&argc, argv); - - // seed the randomizer with the current system time - time_t t; - time(&t); - srand((unsigned int)t); - - // ............................................................................ - - // create a logger from both CPP - Assimp::DefaultLogger::create("AssimpLog_Cpp.txt", Assimp::Logger::VERBOSE, - aiDefaultLogStream_STDOUT | aiDefaultLogStream_DEBUGGER | aiDefaultLogStream_FILE); - - // .. and C. They should smoothly work together - aiEnableVerboseLogging(AI_TRUE); - aiLogStream logstream = aiGetPredefinedLogStream(aiDefaultLogStream_FILE, "AssimpLog_C.txt"); - aiAttachLogStream(&logstream); - - int result = RUN_ALL_TESTS(); - - // ............................................................................ - // but shutdown must be done from C to ensure proper deallocation - aiDetachAllLogStreams(); - - return result; -} |