X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=physics_test.h;h=243de364933859c3d08881c5584fcf9295cfba08;hb=137d40d96fe923600d8378b8e138e3c276f27ff4;hp=acf4ed3cd96c6e46183b3995a81093075a51601d;hpb=b0a4fb814d794157c55212191df200915ab99515;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/physics_test.h b/physics_test.h index acf4ed3..243de36 100644 --- a/physics_test.h +++ b/physics_test.h @@ -1,3 +1,7 @@ +/* + * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved + */ + #ifndef PHYSICS_TEST_H #define PHYSICS_TEST_H @@ -22,7 +26,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 +77,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 +92,6 @@ static void reorg_jeffs(void) { for( int i=0; i