bullet: Fix `BulletAllHitsRayResult::empty()` compiler warning

This commit is contained in:
rdb 2022-10-25 12:08:38 +02:00
parent ef9c9fa20e
commit 693b4d3fb3
1 changed files with 1 additions and 4 deletions

View File

@ -18,10 +18,7 @@
INLINE BulletAllHitsRayResult BulletAllHitsRayResult::
empty() {
btVector3 from;
btVector3 to;
return BulletAllHitsRayResult(from, to, CollideMask::all_on());
return BulletAllHitsRayResult(btVector3(0, 0, 0), btVector3(0, 0, 0), CollideMask::all_on());
}
/**