We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eae693 commit 8bc7967Copy full SHA for 8bc7967
test/testmpr.cpp
@@ -317,6 +317,19 @@ namespace
317
assert(f == -1.f);
318
}
319
320
+
321
+ void test_entfuzzy_bottom()
322
+ {
323
+ std::printf("testing entfuzzy::bottom\n");
324
325
+ physent p;
326
+ p.eyeheight = 1;
327
+ p.o = vec(0,0,0);
328
+ mpr::EntFuzzy e(&p);
329
+ float f = e.bottom();
330
+ assert(f == -1.f);
331
+ }
332
333
334
335
void test_mpr()
@@ -343,4 +356,5 @@ testing mpr functionality\n\
343
356
test_entfuzzy_right();
344
357
test_entfuzzy_front();
345
358
test_entfuzzy_back();
359
+ test_entfuzzy_bottom();
346
360
0 commit comments