A 2D geometry module
It contains basic shapes such as rectangles and circles, as well as vectors, lines, and a universal Shape API. It also has matrix-backed Transforms for arbitrary constant-time 2D transformations, such as rotating, scaling, or translating.
The Tilemap allows 2D storage of data in a world-like grid, and also moving objects at given speeds around the map, which is highly useful for games like platformers.
A circle with a center and a radius
A line with a starting and end point
A rectangle with a top-left position and a size
An individual tile
A grid of Tile values
A 2D transformation represented by a matrix
A triangle with three points
A 2D vector with an arbitrary numeric type
A Scalar type that can be converted to a component of a Vector
The collision and positional attributes of shapes
Find if two floating points are about equal
Linearly interpolate between two values
Linearly interpolate between two angles, trying to find the shortest path