0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-04-22 17:45:37 +00:00

Fix the edge vectors when bounding the portal points.

This commit is contained in:
Bill Currie 2011-12-07 12:16:58 +09:00
parent 6a4021517b
commit 9d2914474c

View file

@ -308,6 +308,8 @@ run_test (test_t *test)
p->portal->winding->points[j][2]
= bound (-8192, p->portal->winding->points[j][2], 8192);
}
FreeWinding (p->portal->edges);
p->portal->edges = WindingVectors (p->portal->winding, 0);
for (j = 0; j < 2; j++) {
int found = 0;