summaryrefslogtreecommitdiff
path: root/src/core/clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/clip.c')
-rw-r--r--src/core/clip.c2
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: