To run the example project, clone the repo, and run pod install
from the Example directory first.
Using Swift 4. Please be aware.
let quat = Quaternion(axis: .xAxis, angle: Degrees(90))
let rotatedQuat = Vector3(0, 1, 0).rotating(by quat) //=> Vector3(0, 0, 1)
Hamilton is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Hamilton"
Patrick Metcalfe, git@patrickmetcalfe.com
Hamilton is available under the MIT license. See the LICENSE file for more info.