Updated Math dependency

This commit is contained in:
Dylan K. Taylor
2018-06-09 13:05:25 +01:00
parent d04991feb6
commit 37b445f210
7 changed files with 14 additions and 14 deletions

View File

@ -185,7 +185,7 @@ abstract class Projectile extends Entity{
continue;
}
$entityBB = $entity->boundingBox->grow(0.3, 0.3, 0.3);
$entityBB = $entity->boundingBox->expandedCopy(0.3, 0.3, 0.3);
$entityHitResult = $entityBB->calculateIntercept($start, $end);
if($entityHitResult === null){