erebus

diff liberebus/src/scene.h @ 19:6204e4d3f445

scene loading
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 27 May 2014 07:43:55 +0300
parents e2d9bf168a41
children 9d6368850fe1
line diff
     1.1 --- a/liberebus/src/scene.h	Mon May 26 23:34:12 2014 +0300
     1.2 +++ b/liberebus/src/scene.h	Tue May 27 07:43:55 2014 +0300
     1.3 @@ -1,6 +1,7 @@
     1.4  #ifndef SCENE_H_
     1.5  #define SCENE_H_
     1.6  
     1.7 +#include <stdio.h>
     1.8  #include <vector>
     1.9  #include "snode.h"
    1.10  #include "camera.h"
    1.11 @@ -52,6 +53,9 @@
    1.12  	bool intersect(const Ray &ray, RayHit *hit) const;
    1.13  
    1.14  	bool load(const char *fname);
    1.15 +	bool load(FILE *fp);
    1.16 +
    1.17 +	bool proc_cmd(int argc, char **argv);
    1.18  };
    1.19  
    1.20  #endif	// SCENE_H_