diff options
-rw-r--r-- | src/primitives.cc | 2 | ||||
-rw-r--r-- | tests/regression/opencsgtest/sphere-tests-expected.png | bin | 18276 -> 18173 bytes | |||
-rw-r--r-- | tests/regression/opencsgtest/testcolornames-expected.png | bin | 20822 -> 24453 bytes | |||
-rw-r--r-- | tests/regression/throwntogethertest/sphere-tests-expected.png | bin | 13794 -> 18173 bytes |
4 files changed, 1 insertions, 1 deletions
diff --git a/src/primitives.cc b/src/primitives.cc index 67e19c3..b3fa45f 100644 --- a/src/primitives.cc +++ b/src/primitives.cc @@ -327,7 +327,7 @@ PolySet *PrimitiveNode::evaluate_polyset(class PolySetEvaluator *) const }; int fragments = get_fragments_from_r(r1, fn, fs, fa); - int rings = fragments/2; + int rings = (fragments+1)/2; // Uncomment the following three lines to enable experimental sphere tesselation // if (rings % 2 == 0) rings++; // To ensure that the middle ring is at phi == 0 degrees diff --git a/tests/regression/opencsgtest/sphere-tests-expected.png b/tests/regression/opencsgtest/sphere-tests-expected.png Binary files differindex 06161f3..d11e3bf 100644 --- a/tests/regression/opencsgtest/sphere-tests-expected.png +++ b/tests/regression/opencsgtest/sphere-tests-expected.png diff --git a/tests/regression/opencsgtest/testcolornames-expected.png b/tests/regression/opencsgtest/testcolornames-expected.png Binary files differindex 6fc6569..6c1b107 100644 --- a/tests/regression/opencsgtest/testcolornames-expected.png +++ b/tests/regression/opencsgtest/testcolornames-expected.png diff --git a/tests/regression/throwntogethertest/sphere-tests-expected.png b/tests/regression/throwntogethertest/sphere-tests-expected.png Binary files differindex 4792668..d11e3bf 100644 --- a/tests/regression/throwntogethertest/sphere-tests-expected.png +++ b/tests/regression/throwntogethertest/sphere-tests-expected.png |