mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-06 19:22:20 +00:00
min max static function on vector3f, bound is public, adding movable into collision calculation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user