summaryrefslogtreecommitdiff
path: root/src/core/clip.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-12-17 00:53:44 +0800
committerchai <chaifix@163.com>2019-12-17 00:53:44 +0800
commitc3f45735ecfab6e567be371758f21395e92dfef6 (patch)
treebb52668d69b2547faf114537e5e44940c3c25613 /src/core/clip.h
parent6d5afcc8380ee9159d3e6c406c9184b22f14e81d (diff)
*misc
Diffstat (limited to 'src/core/clip.h')
-rw-r--r--src/core/clip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/clip.h b/src/core/clip.h
index 2ac733d..c1bb7b6 100644
--- a/src/core/clip.h
+++ b/src/core/clip.h
@@ -26,7 +26,8 @@ typedef struct {
Vec4 temp_reg_v4[REG_V4_COUNT][CLIP_BUFFER_SIZE];
} ClippedBuffer;
-ClippedBuffer clip_buffer;
+ClippedBuffer clip_buffer; /*clipping result*/
+ClippedBuffer temp_clip_buffer;
bool clip_triangle(Vec4* c0, Vec4* c1, Vec4* c2, Vert* v0, Vert* v1, Vert* v2, uint varying_flag, ClippedBuffer* clipped);