Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Susano Pinto <andresusanopinto@gmail.com>2009-08-06 01:09:41 +0400
committerAndre Susano Pinto <andresusanopinto@gmail.com>2009-08-06 01:09:41 +0400
commitf7179efde35689ad915948298fe905e36704c126 (patch)
tree344681c834586d042edae9507d1aed59c3d9ab4a /source/blender/render/intern/include
parent9565ef3087a17894fab4847bd5d8d6003e3d2a68 (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.h3
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