diff options
| author | Bryan Galdrikian <[email protected]> | 2017-02-21 12:07:59 -0800 |
|---|---|---|
| committer | Bryan Galdrikian <[email protected]> | 2017-02-21 12:07:59 -0800 |
| commit | 446ce137c6823ba9eff273bdafdaf266287c7c98 (patch) | |
| tree | d20aab3e2ed08d7b3ca71c2f40db6a93ea00c459 /NvBlast/tools/common/ObjFileReader.h | |
| download | blast-1.0.0-beta.tar.xz blast-1.0.0-beta.zip | |
first commitv1.0.0-beta
Diffstat (limited to 'NvBlast/tools/common/ObjFileReader.h')
| -rw-r--r-- | NvBlast/tools/common/ObjFileReader.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/NvBlast/tools/common/ObjFileReader.h b/NvBlast/tools/common/ObjFileReader.h new file mode 100644 index 0000000..acc85ba --- /dev/null +++ b/NvBlast/tools/common/ObjFileReader.h @@ -0,0 +1,16 @@ +#pragma once +#include <memory> +#include "IMeshFileReader.h" + +class ObjFileReader: public IMeshFileReader +{ +public: + ObjFileReader(); + ~ObjFileReader() = default; + + /* + Load from the specified file path, returning a mesh or nullptr if failed + */ + std::shared_ptr<Nv::Blast::Mesh> loadFromFile(std::string filename); + +}; |