diff options
author | chai <chaifix@163.com> | 2019-12-17 00:53:44 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-12-17 00:53:44 +0800 |
commit | c3f45735ecfab6e567be371758f21395e92dfef6 (patch) | |
tree | bb52668d69b2547faf114537e5e44940c3c25613 /src/core/clip.h | |
parent | 6d5afcc8380ee9159d3e6c406c9184b22f14e81d (diff) |
*misc
Diffstat (limited to 'src/core/clip.h')
-rw-r--r-- | src/core/clip.h | 3 |
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); |