Init commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#include <iostream>
|
||||
#include <Windows.h>
|
||||
#include "zassimp/importer.h"
|
||||
#include <tool.h>
|
||||
#include <filesystem>
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
int main() {
|
||||
SetConsoleOutputCP(CP_UTF8);
|
||||
|
||||
std::filesystem::path file{"C:/Users/amane/Desktop/assimp_test/assimp_test.fbx"};
|
||||
|
||||
std::cout << "exist:" << std::boolalpha << std::filesystem::exists(file) << std::endl;
|
||||
|
||||
Importer imp{};
|
||||
Z::ModelData *data{};
|
||||
imp.ImportFromFile(file, &data);
|
||||
}
|
||||
Reference in New Issue
Block a user