Blender V2.61 - r43446
Classes | Defines | Functions

rayobject_hint.h File Reference

Go to the source code of this file.

Classes

struct  HintBB

Defines

#define HINT_RECURSE   1
#define HINT_ACCEPT   0
#define HINT_DISCARD   -1

Functions

int hint_test_bb (HintBB *obj, float *Nmin, float *Nmax)

Detailed Description

Definition in file rayobject_hint.h.


Define Documentation

#define HINT_ACCEPT   0

Definition at line 37 of file rayobject_hint.h.

Referenced by bvh_dfs_make_hint(), and hint_test_bb().

#define HINT_DISCARD   -1

Definition at line 38 of file rayobject_hint.h.

#define HINT_RECURSE   1

Definition at line 36 of file rayobject_hint.h.

Referenced by bvh_dfs_make_hint(), and hint_test_bb().


Function Documentation

int hint_test_bb ( HintBB obj,
float *  Nmin,
float *  Nmax 
) [inline]

Definition at line 45 of file rayobject_hint.h.

References HintBB::bb, bb_fits_inside(), HINT_ACCEPT, and HINT_RECURSE.

Referenced by bvh_dfs_make_hint().