summaryrefslogtreecommitdiffhomepage
path: root/MagicEx/include/ModelFileOBJ.h
diff options
context:
space:
mode:
Diffstat (limited to 'MagicEx/include/ModelFileOBJ.h')
-rw-r--r--MagicEx/include/ModelFileOBJ.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/MagicEx/include/ModelFileOBJ.h b/MagicEx/include/ModelFileOBJ.h
new file mode 100644
index 0000000..3d9089c
--- /dev/null
+++ b/MagicEx/include/ModelFileOBJ.h
@@ -0,0 +1,27 @@
+/* Starshatter: The Open Source Project
+ Copyright (c) 2021-2024, Starshatter: The Open Source Project Contributors
+ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
+ Copyright (c) 1997-2006, Destroyer Studios LLC.
+
+ AUTHOR: John DiCamillo
+
+
+ OVERVIEW
+ ========
+ File loader for Wavefront/OBJ format models
+*/
+
+#pragma once
+
+#include <Solid.h>
+
+
+class ModelFileOBJ : public ModelFile
+{
+public:
+ ModelFileOBJ(const char* fname);
+ virtual ~ModelFileOBJ();
+
+ virtual bool Load(Model* m, double scale=1.0);
+ virtual bool Save(Model* m);
+};