clray

diff src/scene.h @ 29:353d80127627

doh ... it doesn't work
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 21 Aug 2010 20:51:57 +0100
parents 97cfd9675310
children 4cf4919c3812
line diff
     1.1 --- a/src/scene.h	Sat Aug 21 03:42:49 2010 +0100
     1.2 +++ b/src/scene.h	Sat Aug 21 20:51:57 2010 +0100
     1.3 @@ -73,7 +73,6 @@
     1.4  	mutable int num_faces;
     1.5  
     1.6  	mutable KDNodeGPU *kdbuf;
     1.7 -	mutable int num_kdnodes;
     1.8  
     1.9  public:
    1.10  	std::vector<Mesh*> meshes;
    1.11 @@ -96,7 +95,7 @@
    1.12  
    1.13  	const Face *get_face_buffer() const;
    1.14  	const KDNodeGPU *get_kdtree_buffer() const;
    1.15 -	int get_num_kdnodes() const;
    1.16 +	int get_kdtree_buffer_size() const;
    1.17  
    1.18  	void draw_kdtree() const;
    1.19  	bool build_kdtree();