From baf9b7c1817a825a7583e64fbf7529ad9981cfeb Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 26 Sep 2011 18:52:59 +0900 Subject: [PATCH] Make the test nodes a little easier to read. --- libs/models/test/testclip.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libs/models/test/testclip.c b/libs/models/test/testclip.c index ab644ae0b..3d4b29574 100644 --- a/libs/models/test/testclip.c +++ b/libs/models/test/testclip.c @@ -14,8 +14,8 @@ #endif mclipnode_t clipnodes0[] = { - { 0, { 1, -1}}, - { 1, {-1, -2}}, + { 0, { 1, CONTENTS_EMPTY}}, + { 1, {CONTENTS_EMPTY, CONTENTS_SOLID}}, }; mplane_t planes0[] = { @@ -33,9 +33,9 @@ hull_t hull0 = { }; mclipnode_t clipnodes1[] = { - { 0, { 1, -2}}, - { 1, { 2, -2}}, - { 2, {-2, -1}}, + { 0, { 1, CONTENTS_SOLID}}, + { 1, { 2, CONTENTS_SOLID}}, + { 2, {CONTENTS_SOLID, CONTENTS_EMPTY}}, }; mplane_t planes1[] = { @@ -54,9 +54,9 @@ hull_t hull1 = { }; mclipnode_t clipnodes2[] = { - { 0, { 2, 1}}, - { 1, {-2, -2}}, - { 2, {-2, -1}}, + { 0, { 2, 1}}, + { 1, {CONTENTS_SOLID, CONTENTS_SOLID}}, + { 2, {CONTENTS_SOLID, CONTENTS_EMPTY}}, }; mplane_t planes2[] = {