overloads, tutorial 04 init
This commit is contained in:
1 parent
409ee294eb
commit
4fa65fc535
25 files changed
+232
-77
No files matched your search
@@ -15,6 +15,7 @@
|
||||
#include <string>
|
||||
#include "renderer/models/color.hpp"
|
||||
#include "loaders/3d/obj_loader/tiny_obj_loader.hpp"
|
||||
#include <memory.h>
|
||||
|
||||
namespace Tyra {
|
||||
|
||||
@@ -40,11 +41,12 @@ class ObjLoader : public Loader {
|
||||
ObjLoader();
|
||||
~ObjLoader();
|
||||
|
||||
MeshBuilderData* load(const char* fullpath);
|
||||
MeshBuilderData* load(const char* fullpath, const ObjLoaderOptions& options);
|
||||
MeshBuilderData* load(const std::string& fullpath);
|
||||
MeshBuilderData* load(const std::string& fullpath,
|
||||
const ObjLoaderOptions& options);
|
||||
std::unique_ptr<MeshBuilderData> load(const char* fullpath);
|
||||
std::unique_ptr<MeshBuilderData> load(const char* fullpath,
|
||||
const ObjLoaderOptions& options);
|
||||
std::unique_ptr<MeshBuilderData> load(const std::string& fullpath);
|
||||
std::unique_ptr<MeshBuilderData> load(const std::string& fullpath,
|
||||
const ObjLoaderOptions& options);
|
||||
|
||||
private:
|
||||
void addOutputMaterialsAndFrames(
|
||||
|
||||
Reference in new issue
Block a user