rayzor

diff src/scene.h @ 20:6b11a3f8706e

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 15 Apr 2014 01:36:03 +0300
parents 79609d482762
children 8c4859442200
line diff
     1.1 --- a/src/scene.h	Tue Apr 15 00:59:37 2014 +0300
     1.2 +++ b/src/scene.h	Tue Apr 15 01:36:03 2014 +0300
     1.3 @@ -70,6 +70,12 @@
     1.4  	int get_selection(int idx = 0) const;
     1.5  
     1.6  	bool intersect(const Ray &ray, RayHit *hit = 0) const;
     1.7 +
     1.8 +	bool load(const char *fname);
     1.9 +	bool save(const char *fname) const;
    1.10 +
    1.11 +	bool load(FILE *fp);
    1.12 +	bool save(FILE *fp) const;
    1.13  };
    1.14  
    1.15  #endif	// SCENE_H_