Testing physics
This commit is contained in:
@@ -163,7 +163,7 @@ static void test_physicsShapeMeshCreateIntegratesWithDispatch(void **state) {
|
||||
// Landscape as B, matching physicsWorldStep's dynamic(A)-vs-static(B).
|
||||
vec3 normal; float_t depth;
|
||||
assert_true(physicsTestShapeVsShape(
|
||||
sphereCenter, sphere, meshPos, landscape, normal, &depth
|
||||
sphereCenter, &sphere, meshPos, &landscape, normal, &depth
|
||||
));
|
||||
assert_float_equal(depth, 0.2f, 0.0001f);
|
||||
assert_float_equal(normal[1], 1.0f, 0.0001f);
|
||||
|
||||
Reference in New Issue
Block a user