FabGL
ESP32 Display Controller and Graphics Library

◆ CollisionDetector()

CollisionDetector ( int  maxObjectsCount,
int  width,
int  height 
)

Creates an instance of CollisionDetector.

CollisionDetector is embedded in Scene class, so usually you don't need to instantiate it.

Parameters
maxObjectsCountSpecifies maximum number of sprites. This is required to size the underlying quad-tree data structure.
widthThe scene width in pixels.
heightThe scene height in pixels.

Definition at line 348 of file collisiondetector.cpp.