A dependency free, lightweight, fast math library for 2D and 3D vectors, quaternions and matrices in Swift with (optional) SIMD support. It is developed and maintained as part of the Fireblade Game Engine project.
🚀 Getting Started
These instructions will get you a copy of the project up and running on your local machine and provide a code example.
- Swift Package Manager (SPM)
- Swiftlint for linting - (optional)
- SwiftEnv for Swift version management - (optional)
Extend the following lines in your
Package.swift file or use it to create a new project.
// swift-tools-version:5.1 import PackageDescription let package = Package( name: "YourPackageName", dependencies: [ .package(url: "https://github.com/fireblade-engine/math.git", from: "0.9.1") ], targets: [ .target( name: "YourTargetName", dependencies: ["FirebladeMath"]) ] )
💁 How to contribute
If you want to contribute please see the CONTRIBUTION GUIDE first.
To start your project contribution run these in your command line:
git clone firstname.lastname@example.org:fireblade-engine/math.git fireblade-math
Before commiting code please ensure to run:
This project is licensed under the MIT License - see the LICENSE file for details