mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Add some more tests for the ramp.
These tests pass, but show the basic polygon testing working (just not the collision handling and thus fraction determination).
This commit is contained in:
parent
750b5ba0ed
commit
174f381125
1 changed files with 4 additions and 0 deletions
|
@ -362,6 +362,10 @@ test_t tests[] = {
|
|||
|
||||
{"Box, Ramp", &box, &hull_ramp,
|
||||
{ 0, 0, 16}, {0, 0, 0}, { 0.5, 0, 0, 1, 0, 4}},
|
||||
{"Box, Ramp", &box, &hull_ramp,
|
||||
{-16, 0, 8}, {16, 0, 8}, { 1, 0, 0, 1, 0, 4}},
|
||||
{"Box, Ramp", &box, &hull_ramp,
|
||||
{-16, 0, 5}, {16, 0, 5}, { 0.125, 0, 0, 1, 0, 4}},
|
||||
};
|
||||
#define num_tests (sizeof (tests) / sizeof (tests[0]))
|
||||
|
||||
|
|
Loading…
Reference in a new issue