Dealing with math in gamedev can be a hard task for beginners, so this library provides some code to make your life easier with strong focus on gamedev. Some tools for collision detection (but not physics) are provided too. The library is not strictly about math, so some helpfull 2d gamedev relevant abstractions (like chains) are included too. Key features:
* Easy dealing with ranges, intervals
* Timers and callbacks
* Chains (for making chains of enemies, snakes, centipedes etc.)
* Some collision detection relevant stuff like SAT, Sweep and Prune, QuadTree-management, AABB computations, OBB computations, Point rotations, Braking convex polys in concav subpolies etc.
Be the first to post a review of math4gd2d!