diff options
author | chai <chaifix@163.com> | 2020-07-18 02:48:39 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-07-18 02:48:39 +0800 |
commit | e5e995103377f9bb79123ef8257d8680ed0945fc (patch) | |
tree | 1831f3d2242c8173075576816b9032001580d20b /src/core/clip.c | |
parent | 275bf123ff505eef3333ba41385ed3814eb9a507 (diff) |
*late culling
Diffstat (limited to 'src/core/clip.c')
-rw-r--r-- | src/core/clip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/clip.c b/src/core/clip.c index 2880448..d5de4fc 100644 --- a/src/core/clip.c +++ b/src/core/clip.c @@ -145,7 +145,7 @@ static bool is_inside_plane(Vec4* c, Plane plane) { case NEGATIVE_Y: return c->y >= -c->w; case POSITIVE_Z: - return c->z <= +c->w; + return c->z <= c->w; case NEGATIVE_Z: return c->z >= -c->w; default: |