aabb property

  1. @override
Aabb2 aabb
override

The axis-aligned bounding box of the shape.

Implementations are encouraged to cache the computed Aabb in order to avoid repeated recalculations on every game tick.

Implementation

@override
Aabb2 get aabb => _aabb ??= _calculateAabb();