Hamilton

1.0.2

A great way to manipulate vectors and quaternions in Swift
pducks32/Hamilton

What's New

2018-01-06T07:37:21Z

Hamilton

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Using Swift 4. Please be aware.

Usage

let quat = Quaternion(axis: .xAxis, angle: Degrees(90))
let rotatedQuat = Vector3(0, 1, 0).rotating(by quat) //=> Vector3(0, 0, 1)

Installation

Hamilton is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Hamilton"

Author

Patrick Metcalfe, git@patrickmetcalfe.com

License

Hamilton is available under the MIT license. See the LICENSE file for more info.

Description

  • Swift Tools 4.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Mar 15 2024 19:51:09 GMT-0900 (Hawaii-Aleutian Daylight Time)