Package-level declarations

Functions

Link copied to clipboard

Creates a Compose Shape that matches a PhysicsShape.Polygon.

Link copied to clipboard
fun regularPolygonNormalized(sides: Int, radius: Float = 0.48f, rotationDegrees: Float = -90f): PhysicsShape.Polygon

Creates a regular convex PhysicsShape.Polygon in normalized local space.