Swiftpack.co -  fireblade-engine/math as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
fireblade-engine/math
A dependency free, lightweight, fast math library for 2D and 3D vectors, quaternions and matrices in Swift with (optional) SIMD support.
.package(url: "https://github.com/fireblade-engine/math.git", from: "0.10.0")

FirebladeMath

license github CI
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

GitHub

link
Stars: 9
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jackโ€™d and SCRUFF. We are two of the worldโ€™s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Euler Angles
12 weeks ago
  • Add euler angle conversions

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API