X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=physics_test.h;h=33a6b6b7f8c56b70a75470da8e96ea55b3d9eb90;hb=4a883ac1b2506032f9dddab342712de46f2ca734;hp=acf4ed3cd96c6e46183b3995a81093075a51601d;hpb=b0a4fb814d794157c55212191df200915ab99515;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/physics_test.h b/physics_test.h index acf4ed3..33a6b6b 100644 --- a/physics_test.h +++ b/physics_test.h @@ -22,7 +22,7 @@ rigidbody blocky = rigidbody marko = { .type = k_rb_shape_box, - .bbx = {{-2.0f,-2.0f,-2.0f},{2.0f,2.0f,2.0f}}, + .bbx = {{-0.5f,-0.5f,-0.5f},{0.5f,0.5f,0.5f}}, .co = {-36.0f,8.0f,-36.0f}, .q = {0.0f,0.0f,0.0f,1.0f}, .is_world = 0 @@ -73,7 +73,7 @@ rigidbody jeff1 = { .type = k_rb_shape_capsule, }; rigidbody ball = { .type = k_rb_shape_sphere, - .inf.sphere = { .radius = 4.0f }, + .inf.sphere = { .radius = 2.0f }, .co = {0.0f,20.0f,2.0f}, .q = {0.0f,0.0f,0.0f,1.0f}}, @@ -88,8 +88,6 @@ static void reorg_jeffs(void) { for( int i=0; i