diff options
author | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-08-06 01:09:41 +0400 |
---|---|---|
committer | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-08-06 01:09:41 +0400 |
commit | f7179efde35689ad915948298fe905e36704c126 (patch) | |
tree | 344681c834586d042edae9507d1aed59c3d9ab4a /source/blender/render/intern/include | |
parent | 9565ef3087a17894fab4847bd5d8d6003e3d2a68 (diff) |
no need to calculate the exact nearest distance if we are not using any heuristic based on that
Diffstat (limited to 'source/blender/render/intern/include')
-rw-r--r-- | source/blender/render/intern/include/rayobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/rayobject.h b/source/blender/render/intern/include/rayobject.h index 8f0dbed3176..2c63c8ceae9 100644 --- a/source/blender/render/intern/include/rayobject.h +++ b/source/blender/render/intern/include/rayobject.h @@ -164,7 +164,8 @@ int RE_rayobject_intersect(RayObject *r, Isect *i); * Returns distance ray must travel to hit the given bounding box * BB should be in format [2][3] */ -float RE_rayobject_bb_intersect(const Isect *i, const float *bb); +/* float RE_rayobject_bb_intersect(const Isect *i, const float *bb); */ +int RE_rayobject_bb_intersect_test(const Isect *i, const float *bb); /* same as bb_intersect but doens't calculates distance */ /* * Returns the expected cost of raycast on this node, primitives have a cost of 1 |