whoopsie
[carveJwlIkooP6JGAAIwe30JlM.git] / rigidbody.h
index 0fcb894d089bd0204dc839df1f6cff263c06a7a2..398791341b592459f3b1e922ebfdb46a2fcf88a5 100644 (file)
@@ -1509,8 +1509,7 @@ VG_STATIC int rb_sphere__scene( m4x3f mtxA, rb_sphere *b,
    v3_sub( mtxA[3], (v3f){ r,r,r }, box[0] );
    v3_add( mtxA[3], (v3f){ r,r,r }, box[1] );
    
-   while( bh_next( s->bh_scene, &it, box, &idx ) )
-   {
+   while( bh_next( s->bh_scene, &it, box, &idx ) ){
       u32 *ptri = &sc->arrindices[ idx*3 ];
       v3f tri[3];
 
@@ -1526,8 +1525,7 @@ VG_STATIC int rb_sphere__scene( m4x3f mtxA, rb_sphere *b,
       int contact = rb_sphere__triangle( mtxA, b, tri, &buf[count] );
       count += contact;
 
-      if( count == 16 )
-      {
+      if( count == 16 ){
          vg_warn( "Exceeding sphere_vs_scene capacity. Geometry too dense!\n" );
          return count;
       }
@@ -1999,8 +1997,7 @@ VG_STATIC int rb_capsule__scene( m4x3f mtxA, rb_capsule *c,
    
    scene *sc = s->bh_scene->user;
    
-   while( bh_next( s->bh_scene, &it, bbx, &idx ) )
-   {
+   while( bh_next( s->bh_scene, &it, bbx, &idx ) ){
       u32 *ptri = &sc->arrindices[ idx*3 ];
       v3f tri[3];
 
@@ -2012,8 +2009,7 @@ VG_STATIC int rb_capsule__scene( m4x3f mtxA, rb_capsule *c,
       int contact = rb_capsule__triangle( mtxA, c, tri, &buf[count] );
       count += contact;
 
-      if( count >= 16 )
-      {
+      if( count >= 16 ){
          vg_warn("Exceeding capsule_vs_scene capacity. Geometry too dense!\n");
          return count;
       }