absence_thelab
view src/3deng/SceneLoader.h @ 0:1cffe3409164
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 23 Oct 2014 01:46:07 +0300 |
parents | |
children |
line source
1 #ifndef _SCENELOADER_H_
2 #define _SCENELOADER_H_
4 #include "3deng/objects.h"
5 #include "3deng/3dscene.h"
6 #include "3deng/material.h"
8 namespace SceneLoader {
9 void SetGraphicsContext(GraphicsContext *gfx);
10 void SetDataPath(const char *path);
11 void SetNormalFileSaving(bool enable);
13 bool LoadObject(const char *fname, const char *ObjectName, Object **obj);
14 bool LoadScene(const char *fname, Scene **scene);
15 bool LoadMaterials(const char *fname, Material **materials);
16 }
18 #endif // _SCENELOADER_H_