clray

diff src/scene.h @ 45:8047637961a2

fixed the issue of hitting maximum vertical image sizes for large kdtrees
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 29 Aug 2010 04:20:42 +0100
parents f9eec11e5acc
children 6a30f27fa1e6
line diff
     1.1 --- a/src/scene.h	Sat Aug 28 21:50:17 2010 +0100
     1.2 +++ b/src/scene.h	Sun Aug 29 04:20:42 2010 +0100
     1.3 @@ -4,6 +4,7 @@
     1.4  #include <stdio.h>
     1.5  #include <vector>
     1.6  #include <list>
     1.7 +#include "common.h"
     1.8  
     1.9  struct Vertex {
    1.10  	float pos[4];
    1.11 @@ -51,7 +52,6 @@
    1.12  	KDNode();
    1.13  };
    1.14  
    1.15 -#define MAX_NODE_FACES	32
    1.16  struct KDNodeGPU {
    1.17  	AABBox aabb;
    1.18  	int face_idx[MAX_NODE_FACES];