aboutsummaryrefslogtreecommitdiff
path: root/Spear/Assets/Model/MD2/MD2_load.h
diff options
context:
space:
mode:
Diffstat (limited to 'Spear/Assets/Model/MD2/MD2_load.h')
-rw-r--r--Spear/Assets/Model/MD2/MD2_load.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/Spear/Assets/Model/MD2/MD2_load.h b/Spear/Assets/Model/MD2/MD2_load.h
new file mode 100644
index 0000000..75e1b26
--- /dev/null
+++ b/Spear/Assets/Model/MD2/MD2_load.h
@@ -0,0 +1,23 @@
1#ifndef _MD2_LOAD_H
2#define _MD2_LOAD_H
3
4#include "../Model.h"
5#include "../Model_error_code.h"
6
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12/// Loads the MD2 file specified by the given string.
13/// 'clockwise' should be 1 if you plan to render the model in a clockwise environment, 0 otherwise.
14/// 'smooth_normals' should be 1 if you want the loader to compute smooth normals, 0 otherwise.
15Model_error_code MD2_load (const char* filename, char clockwise, char left_handed, Model* model);
16
17#ifdef __cplusplus
18}
19#endif
20
21
22#endif // _MD2_LOAD_H
23