Modules§
- Rectangle packer packs small rectangles into a bigger one.
- Quadrilateral (quad) tree is used for space partitioning and fast spatial queries.
Structs§
- A version of Rect that is optionally None. This simplifies the process of creating a bounding rect from a series of points, as it can start as None and then build an initial rect from the first point.
- A rectangle defined by position and size.
Enums§
Traits§
- Arbitrary number.
Functions§
- Tries to find a point closest to given point.
- Returns a tuple of (point index; triangle index) closest to the given point.
- Returns a tuple of (point index; triangle index) closest to the given point.
- There are two versions of remainder, the standard
%operator which doesx - (x/y).trunc()*yand IEEE remainder which doesx - (x/y).round()*y. - Returns rotation quaternion that represents rotation basis with Z axis aligned on
vec. This function handles singularities for you.