plish
[carveJwlIkooP6JGAAIwe30JlM.git] / rigidbody.h
index ad4b600550f3f95284362e417524a465abf9da86..3cb601dd705e3ad6e4bb5cf980e9dc22bdd3c5ac 100644 (file)
@@ -1854,7 +1854,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;