Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/capnslipp/scnmathextensions
Math extensions for SCNVector3, SCNQuaternion, SCNMatrix4
https://github.com/capnslipp/scnmathextensions
glkit math math-extensions math-library matrix quaternion scenekit simd swift swift-library vector
Last synced: 3 days ago
JSON representation
Math extensions for SCNVector3, SCNQuaternion, SCNMatrix4
- Host: GitHub
- URL: https://github.com/capnslipp/scnmathextensions
- Owner: capnslipp
- License: unlicense
- Created: 2017-02-16T23:23:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-29T14:18:46.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T17:13:46.849Z (16 days ago)
- Topics: glkit, math, math-extensions, math-library, matrix, quaternion, scenekit, simd, swift, swift-library, vector
- Language: Swift
- Homepage:
- Size: 69.3 KB
- Stars: 37
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SCNMathExtensions
SCNMathExtensions is a small Swift library that provides commonplace math extensions for SceneKit's `SCNVector3`, `SCNQuaternion`, & `SCNMatrix4` types, and bridging from/to `GLKVector3`, `simd.float3`, `GLKQuaternion`, `GLKMatrix4`, & `simd.float4x4`.
The master branch is Swift 5.x, and build overlays (the minimal changeset to the Package.swift, xcodeproj, and other build files) of the current library version are available on the [swift-4.2](https://github.com/capnslipp/SCNMathExtensions/tree/swift-4.2), [swift-4](https://github.com/capnslipp/SCNMathExtensions/tree/swift-4), and [swift-3](https://github.com/capnslipp/SCNMathExtensions/tree/swift-3) branches. _(Note: I don't check that these are built as often as I used to when Swift 4.2 or 4.0 were the latest versions, but their changes haved worked and I've merged new library versions into them since then.)_