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:
authorCampbell Barton <ideasman42@gmail.com>2013-08-08 02:40:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-08 02:40:03 +0400
commit26c08392208638f5a83871808394c729577538b8 (patch)
tree397d82d798ac55f646c4d3434e96afe40f6af7a1 /source/blender/render/intern/include
parent67ae5e81588f04174dcddeff2ad10cea0a69c9d6 (diff)
disable cycles when building without python, also use const for function args in more places.
Diffstat (limited to 'source/blender/render/intern/include')
-rw-r--r--source/blender/render/intern/include/zbuf.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/render/intern/include/zbuf.h b/source/blender/render/intern/include/zbuf.h
index ca9897b652c..ec30c3241ab 100644
--- a/source/blender/render/intern/include/zbuf.h
+++ b/source/blender/render/intern/include/zbuf.h
@@ -120,8 +120,9 @@ typedef struct ZSpan {
} ZSpan;
/* exported to shadbuf.c */
-void zbufclip4(struct ZSpan *zspan, int obi, int zvlnr, float *f1, float *f2, float *f3, float *f4,
- int c1, int c2, int c3, int c4);
+void zbufclip4(struct ZSpan *zspan, int obi, int zvlnr,
+ const float f1[4], const float f2[4], const float f3[4], const float f4[4],
+ const int c1, const int c2, const int c3, const int c4);
void zbuf_free_span(struct ZSpan *zspan);
void freepsA(struct ListBase *lb);
@@ -130,10 +131,13 @@ void zspan_scanconvert(struct ZSpan *zpan, void *handle, float *v1, float *v2, f
void (*func)(void *, int, int, float, float) );
/* exported to edge render... */
-void zbufclip(struct ZSpan *zspan, int obi, int zvlnr, float *f1, float *f2, float *f3, int c1, int c2, int c3);
+void zbufclip(struct ZSpan *zspan, int obi, int zvlnr,
+ const float f1[4], const float f2[4], const float f3[4],
+ const int c1, const int c2, const int c3);
void zbuf_alloc_span(struct ZSpan *zspan, int rectx, int recty, float clipcrop);
void zbufclipwire(struct ZSpan *zspan, int obi, int zvlnr, int ec,
- float *ho1, float *ho2, float *ho3, float *ho4, int c1, int c2, int c3, int c4);
+ const float ho1[4], const float ho2[4], const float ho3[4], const float ho4[4],
+ const int c1, const int c2, const int c3, const int c4);
/* exported to shadeinput.c */
void zbuf_make_winmat(Render *re, float winmat[4][4]);