absence_thelab

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/3deng/SceneLoader.h	Thu Oct 23 01:46:07 2014 +0300
     1.3 @@ -0,0 +1,18 @@
     1.4 +#ifndef _SCENELOADER_H_
     1.5 +#define _SCENELOADER_H_
     1.6 +
     1.7 +#include "3deng/objects.h"
     1.8 +#include "3deng/3dscene.h"
     1.9 +#include "3deng/material.h"
    1.10 +
    1.11 +namespace SceneLoader {
    1.12 +	void SetGraphicsContext(GraphicsContext *gfx);
    1.13 +	void SetDataPath(const char *path);
    1.14 +	void SetNormalFileSaving(bool enable);
    1.15 +
    1.16 +	bool LoadObject(const char *fname, const char *ObjectName, Object **obj);
    1.17 +	bool LoadScene(const char *fname, Scene **scene);
    1.18 +	bool LoadMaterials(const char *fname, Material **materials);
    1.19 +}
    1.20 +
    1.21 +#endif	// _SCENELOADER_H_
    1.22 \ No newline at end of file