|
FabGL
ESP32 VGA Controller and Graphics Library
|
| fabgl::CollisionDetector::CollisionDetector | ( | int | maxObjectsCount, |
| int | width, | ||
| int | height | ||
| ) |
Create an instance of CollisionDetector.
CollisionDetector is embedded in Scene class, so usually you don't need to instantiate it.
| maxObjectsCount | Specifies maximum number of sprites. This is required to size the underlying quad-tree data structure. |
| width | The scene width in pixels. |
| height | The scene height in pixels. |