Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.19 KB

File metadata and controls

33 lines (25 loc) · 1.19 KB

🧭 Cartesian

Swift Swift Package Manager

Welcome to Cartesian, a Swift package for working with vectors and matrices in a coordinate-based mathematical space.

Cartesian offers SIMD-backed vectors, matrices, and quaternions, utilizing LLVM-accelerated simd operations for performance where supported.

Installation

Cartesian is distributed using the Swift Package Manager. To install it within another Swift package, add it as a dependency within your Package.swift manifest:

let package = Package(
    // . . .
    dependencies: [
        .package(url: "https://github.com/mattcox/Cartesian.git", branch: "main")
    ],
    // . . .
)

If you’d like to use Cartesian within an iOS, macOS, watchOS, tvOS or visionOS app, then use Xcode’s File > Add Packages... menu command to add it to your project.

Import Cartesian wherever you’d like to use it:

import Cartesian