src/yafraycore/ray_kdtree.cc File Reference

#include <yafraycore/ray_kdtree.h>
#include <core_api/material.h>
#include <core_api/scene.h>
#include <stdexcept>
#include <limits>
#include <set>
#include <time.h>
Include dependency graph for ray_kdtree.cc:

Go to the source code of this file.

Defines

#define LOWER_B   0
#define UPPER_B   2
#define BOTH_B   1
#define _TRI_CLIP   1
#define TRI_CLIP_THRESH   32
#define CLIP_DATA_SIZE   (3*12*sizeof(double))
#define KD_BINS   1024
#define KD_MAX_STACK   64
#define Y_FAST_INT   0
#define _doublemagicroundeps   (0.5 - 1.4e-11)

Functions

int Y_Round2Int (double val)
int Y_Float2Int (double val)

Define Documentation

#define _doublemagicroundeps   (0.5 - 1.4e-11)

Definition at line 37 of file ray_kdtree.cc.

#define _TRI_CLIP   1

Definition at line 21 of file ray_kdtree.cc.

#define BOTH_B   1

Definition at line 19 of file ray_kdtree.cc.

#define CLIP_DATA_SIZE   (3*12*sizeof(double))

Definition at line 23 of file ray_kdtree.cc.

#define KD_BINS   1024

Definition at line 24 of file ray_kdtree.cc.

#define KD_MAX_STACK   64

Definition at line 26 of file ray_kdtree.cc.

#define LOWER_B   0

Definition at line 17 of file ray_kdtree.cc.

#define TRI_CLIP_THRESH   32

Definition at line 22 of file ray_kdtree.cc.

#define UPPER_B   2

Definition at line 18 of file ray_kdtree.cc.

#define Y_FAST_INT   0

Definition at line 34 of file ray_kdtree.cc.


Function Documentation

int Y_Float2Int ( double  val  )  [inline]

Definition at line 49 of file ray_kdtree.cc.

int Y_Round2Int ( double  val  )  [inline]

Definition at line 39 of file ray_kdtree.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 18 Dec 2009 for YafaRay by  doxygen 1.6.1