Testing physics

This commit is contained in:
2026-07-18 20:53:22 -05:00
parent 1174e471f6
commit 6c5738c863
24 changed files with 347 additions and 126 deletions
+1 -1
View File
@@ -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);