aboutsummaryrefslogtreecommitdiff
path: root/tools/common/ObjFileReader.h
diff options
context:
space:
mode:
authorBryan Galdrikian <[email protected]>2017-02-24 09:32:20 -0800
committerBryan Galdrikian <[email protected]>2017-02-24 09:32:20 -0800
commite1bf674c16e3c8472b29574159c789cd3f0c64e0 (patch)
tree9f0cfce09c71a2c27ff19589fcad6cd83504477c /tools/common/ObjFileReader.h
parentfirst commit (diff)
downloadblast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.tar.xz
blast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.zip
Updating to [email protected] and [email protected] with a new directory structure.
NvBlast folder is gone, files have been moved to top level directory. README is changed to reflect this.
Diffstat (limited to 'tools/common/ObjFileReader.h')
-rw-r--r--tools/common/ObjFileReader.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/common/ObjFileReader.h b/tools/common/ObjFileReader.h
new file mode 100644
index 0000000..acc85ba
--- /dev/null
+++ b/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);
+
+};