diff options
Diffstat (limited to 'source/blender/render/intern/include/zbuf.h')
-rw-r--r-- | source/blender/render/intern/include/zbuf.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/source/blender/render/intern/include/zbuf.h b/source/blender/render/intern/include/zbuf.h index b5f4fffb0a9..bc6addd6c5f 100644 --- a/source/blender/render/intern/include/zbuf.h +++ b/source/blender/render/intern/include/zbuf.h @@ -18,23 +18,26 @@ * \ingroup render */ - #ifndef __ZBUF_H__ #define __ZBUF_H__ /* span fill in method, is also used to localize data for zbuffering */ typedef struct ZSpan { - int rectx, recty; /* range for clipping */ + int rectx, recty; /* range for clipping */ - int miny1, maxy1, miny2, maxy2; /* actual filled in range */ - const float *minp1, *maxp1, *minp2, *maxp2; /* vertex pointers detect min/max range in */ - float *span1, *span2; + int miny1, maxy1, miny2, maxy2; /* actual filled in range */ + const float *minp1, *maxp1, *minp2, *maxp2; /* vertex pointers detect min/max range in */ + float *span1, *span2; } ZSpan; void zbuf_alloc_span(struct ZSpan *zspan, int rectx, int recty); void zbuf_free_span(struct ZSpan *zspan); -void zspan_scanconvert(struct ZSpan *zpan, void *handle, float *v1, float *v2, float *v3, - void (*func)(void *, int, int, float, float) ); +void zspan_scanconvert(struct ZSpan *zpan, + void *handle, + float *v1, + float *v2, + float *v3, + void (*func)(void *, int, int, float, float)); #endif |