Swift library for working in two-dimensional coordinate systems.
This library provides structs for
Rect based on the swift standard library. No
CoreGraphics imports are required.
Swift2D is distributed using the Swift Package Manager. To install it into a project, add it as a dependency within your
let package = Package( ... dependencies: [ .package(url: "https://github.com/richardpiazza/Swift2D.git", from: "1.1.0") ], ... )
Then import the Swift2D packages wherever you'd like to use it:
|Last commit: 6 weeks ago|
This release removes previously deprecated initializers as well as replacing the underlying
Float values with
SE-0307 will offer interchangeable
Double usages in Swift 5.5.