mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Add a bunch of in-solid tests.
Tests where the box is only partially in a solid tend to fail (particularly when the solid is on the back side of the split plane).
This commit is contained in:
parent
50b08c98fa
commit
13d37f4838
1 changed files with 23 additions and 9 deletions
|
@ -390,6 +390,20 @@ test_t tests[] = {
|
|||
{ -8, 0, 8}, {-12, 0, 12}, { 1, 0, 0, 1, 0, 9}},
|
||||
{"Point, Covered Step touch backside", &point, &hull_covered_step,
|
||||
{ 0, 0, 8}, {-12, 0, 12}, { 1, 0, 1, 1, 0, 9}},
|
||||
{"Box, Covered Step start solid", &box, &hull_covered_step,
|
||||
{ -4, 0, 4}, {-12, 0, 12}, { 1, 0, 1, 1, 0, 9}},
|
||||
{"Box, Covered Step start solid", &box, &hull_covered_step,
|
||||
{ -4, 0, 4}, {-16, 0, 36}, { 0.875, 0, 1, 1, 0, 9}},
|
||||
{"Box, Covered Step start solid", &box, &hull_covered_step,
|
||||
{ -4, 0, 4}, {-16, 0, 4}, { 1, 1, 1, 0, 0, 9}},
|
||||
{"Box, Covered Step start solid", &box, &hull_covered_step,
|
||||
{-12, 0, 4}, {-16, 0, 4}, { 1, 1, 1, 0, 0, 9}},
|
||||
{"Box, Covered Step start solid", &box, &hull_covered_step,
|
||||
{-16, 0, 4}, { -4, 0, 4}, { 1, 1, 1, 0, 0, 9}},
|
||||
{"Box, Covered Step start solid", &box, &hull_covered_step,
|
||||
{ 16, 0, -16}, { 16, 0, 64}, { 1, 1, 1, 0, 0, 9}},
|
||||
{"Box, Covered Step start solid", &box, &hull_covered_step,
|
||||
{ 16, 0, 16}, { 16, 0, 64}, { 1, 0, 1, 1, 0, 9}},
|
||||
|
||||
{"Box, Step 2", &box, &hull_step2,
|
||||
{ 0, 0, 64}, {0, 0, 0}, { 0.375, 0, 0, 1, 0, 5}},
|
||||
|
|
Loading…
Reference in a new issue