Init commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#ifndef RENDER_IMPORTER_H
|
||||
#define RENDER_IMPORTER_H
|
||||
|
||||
#include <render_type_def.h>
|
||||
#include <filesystem>
|
||||
|
||||
class Importer {
|
||||
public:
|
||||
bool ImportFromFile(const std::filesystem::path &path, Z::Model **out) const;
|
||||
void ReleaseLoadedModel(const Z::Model* model) const;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif //RENDER_IMPORTER_H
|
||||
@@ -0,0 +1,18 @@
|
||||
#ifndef ZASSIMP_LIB_MACRO_H
|
||||
#define ZASSIMP_LIB_MACRO_H
|
||||
|
||||
#ifdef ZASSIMP_SHARED_LIB
|
||||
#ifdef _WIN32
|
||||
#ifdef ZASSIMP_DLL_OUTPUT
|
||||
#define ZASSIMP_API __declspec(dllexport)
|
||||
#else
|
||||
#define ZASSIMP_API __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define ZASSIMP_API __attribute__((visibility("default")))
|
||||
#endif
|
||||
#else
|
||||
#define ZASSIMP_API
|
||||
#endif
|
||||
|
||||
#endif //ZASSIMP_LIB_MACRO_H
|
||||
Reference in New Issue
Block a user