aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/mimesh/mimesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/mimesh/mimesh.h')
-rw-r--r--src/others/mimesh/mimesh.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/others/mimesh/mimesh.h b/src/others/mimesh/mimesh.h
new file mode 100644
index 0000000..ec0d233
--- /dev/null
+++ b/src/others/mimesh/mimesh.h
@@ -0,0 +1,43 @@
1/*
2 This is a wrapper around the libg3d mesh loading library.
3
4 Copyright (c) 2010, Dawid Seikel.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; version 2 of the License.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19
20#ifndef MI_MIMESH_H
21#define MI_MIMESH_H
22
23#include "g3d/g3d.h"
24
25class LLViewerObject;
26class LLVolume;
27class LLFace;
28
29class mimesh
30{
31public:
32 static void startup(void);
33 static void load(LLViewerObject *object, std::string URL);
34 static void getData(LLVolume *volume);
35 static void render(LLViewerObject *object);
36 static void unload(LLViewerObject* object);
37 static void unload(LLVolume* volume);
38 static void shutdown(void);
39
40private:
41 static G3DContext* context;
42};
43#endif