diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-01-22 02:17:19 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-01-22 02:17:19 +0300 |
commit | ec04c09365cd47bf9ca7e86e1fa731dd2e4540db (patch) | |
tree | c874c39de14a827a21ca1e694b5085fee6a00e57 /source/blender/render/extern | |
parent | 9f3f546a6f71c05591442f6ebf29a94d871dd4c5 (diff) |
Fix for error in approximate AO in last commit, made it really slow.
Also, duplis are now taking into account, the proper way to exclude
them is to set the material to be not traceable.
Removed an unnecessary pointer from the VlakRen struct to save some
memory, not really that significant, but still, saves 70 mb for 10
million faces.
Diffstat (limited to 'source/blender/render/extern')
-rw-r--r-- | source/blender/render/extern/include/RE_raytrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/extern/include/RE_raytrace.h b/source/blender/render/extern/include/RE_raytrace.h index 39bf2be4256..aec1c69b3dc 100644 --- a/source/blender/render/extern/include/RE_raytrace.h +++ b/source/blender/render/extern/include/RE_raytrace.h @@ -89,7 +89,7 @@ typedef struct Isect { /* function callbacks for face type abstraction */ typedef void (*RayCoordsFunc)(RayFace *face, float **v1, float **v2, float **v3, float **v4); -typedef int (*RayCheckFunc)(Isect *is, RayFace *face); +typedef int (*RayCheckFunc)(Isect *is, int ob, RayFace *face); typedef float *(*RayObjectTransformFunc)(void *userdata, int ob); /* tree building and freeing */ |