mkafrin / PolyZone

PolyZone is a FiveM mod to define zones of different shapes and test whether a point is inside or outside of the zone
MIT License
204 stars 191 forks source link

Expose some internally calculated values about a zone #5

Closed mkafrin closed 4 years ago

mkafrin commented 4 years ago

Some internally calculated values such as the bounding box's center, min, and max can be exposed to the public API for the zone

mkafrin commented 4 years ago

Create helper functions for min, max, center, size as names like getBoundingBoxMin