inertia tensors
[carveJwlIkooP6JGAAIwe30JlM.git] / bvh.h
diff --git a/bvh.h b/bvh.h
index a6a7468b7141f6a7c7f13f8cae11725121840b6d..27e23b5af516dd0fc8ae809b7c6844400741cf7d 100644 (file)
--- a/bvh.h
+++ b/bvh.h
@@ -251,10 +251,7 @@ static int bh_select( bh_tree *bh, boxf box, u32 *buffer, int len )
          if( inode->count )
          {
             if( count + inode->count >= len )
-            {
-               vg_error( "Maximum buffer reached!\n" );
                return count;
-            }
 
             for( u32 i=0; i<inode->count; i++ )
                buffer[ count ++ ] = inode->start+i;