min max static function on vector3f, bound is public, adding movable into collision calculation

This commit is contained in:
Bluub
2021-05-31 17:26:54 +02:00
parent fcbbfd04d8
commit 4d0621a987
5 changed files with 47 additions and 26 deletions
@@ -40,6 +40,11 @@ namespace BBM
: WAL::Component(entity), onCollide(), _bound({boundSize, boundSize, boundSize})
{ }
Vector3f CollisionComponent::getBounds(void) const
{
return _bound;
}
float CollisionComponent::getBoundX(void) const
{
return _bound.x;