From 18d18dbaf50cf6d52fffba2c5f46591c56da5ff1 Mon Sep 17 00:00:00 2001 From: Jeremy Van Grinsven Date: Mon, 20 Jan 2014 10:02:27 -0600 Subject: [PATCH] render a little farther on the last near/far pair to cover up a seam defect seen at some angles. --- entity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity.c b/entity.c index 392a829b..1a726363 100644 --- a/entity.c +++ b/entity.c @@ -853,7 +853,7 @@ void render_entities(GtkWidget *w, GdkGC *gc, struct entity_context *cx) near_far[0][0] = cx->camera.near * 10000; near_far[0][1] = cx->camera.far; near_far[1][0] = cx->camera.near; - near_far[1][1] = cx->camera.near * 10000; + near_far[1][1] = cx->camera.near * 10010; /* render a little farther to cover seam */ } int pass;