FirebladeMath

0.11.0

A dependency free, lightweight, fast math library for 2D and 3D vectors, quaternions and matrices in Swift with (optional) SIMD support.
fireblade-engine/math

What's New

Windows support

2021-09-22T07:36:07Z
  • Adds Windows support (#6 Thanks @pcbeard 🙏 )
  • Update CI to support Swift 5.5
  • Community files

FirebladeMath

license macOS Linux Windows swift-version-compatibility platform-compatilibilty

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.

📋 Prerequisites

💻 Installing

Fireblade Math is available for all platforms that support Swift 5.1 and higher and the Swift Package Manager (SPM).

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:

  1. git clone git@github.com:fireblade-engine/math.git fireblade-math
  2. cd fireblade-math
  3. make setupEnvironment

Before commiting code please ensure to run:

  • make precommit

This project is currently maintained by @ctreffs.
See also the list of contributors who participated in this project.

🔏 License

This project is licensed under the MIT License - see the LICENSE file for details

Alternatives

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Sep 21 2022 12:31:12 GMT-0500 (GMT-05:00)