diff options
Diffstat (limited to 'source/blender/render/intern/include/shadbuf.h')
-rw-r--r-- | source/blender/render/intern/include/shadbuf.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/render/intern/include/shadbuf.h b/source/blender/render/intern/include/shadbuf.h index 81ec34397cc..f0bdcd224b6 100644 --- a/source/blender/render/intern/include/shadbuf.h +++ b/source/blender/render/intern/include/shadbuf.h @@ -37,14 +37,6 @@ #include "render_types.h" -#ifdef __cplusplus -extern "C" { -#endif - -/** Init memory for old-style shodow buffers. */ -void initshadowbuf(struct LampRen *lar, float mat[][4]); - - /** * Calculates shadowbuffers for a vector of shadow-giving lamps * @param lar The vector of lamps @@ -60,7 +52,7 @@ void makeshadowbuf(LampRen *lar); * @param inp The inproduct between viewvector and ? * */ -float testshadowbuf(struct ShadBuf *shb, float inp); +float testshadowbuf(struct ShadBuf *shb, float *rco, float inp); /** * Determines the shadow factor for lamp <lar>, between <p1> @@ -68,9 +60,6 @@ float testshadowbuf(struct ShadBuf *shb, float inp); */ float shadow_halo(LampRen *lar, float *p1, float *p2); -#ifdef __cplusplus -} -#endif #endif /* SHADBUF_EXT_H */ |