-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a67fba3
commit 2330444
Showing
1 changed file
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
# simd-tools | ||
# SIMDTools | ||
|
||
<p align="left"> | ||
<img src="Sources/SIMDTools/SIMDTools.docc/Resources/documentation-art/simd-tools@2x.png", width="120"> | ||
</p> | ||
|
||
Welcome to the documentation for the `SIMDTools` Swift package. This package provides utility functions and extensions for working with SIMD matrices and vectors in Swift. | ||
|
||
## Overview | ||
|
||
The `simd-tools` package includes: | ||
|
||
- `Angle` struct for representing angles. | ||
- Extensions for `float3x3` and `float4x4` to perform various matrix transformations. | ||
- Utility functions such as `clamp`, `saturate`, and `interpolate`. | ||
|
||
## Install via [SwiftPM](https://swift.org/package-manager/) | ||
|
||
```swift | ||
.package(url: "https://github.com/computer-graphics-tools/simd-tools", from: "0.0.1") | ||
``` | ||
|
||
### Usage | ||
|
||
- [Working With Angles](Sources/SIMDTools/SIMDTools.docc/WorkingWithAngles.md) | ||
- [Working With 3x3 Matrices](Sources/SIMDTools/SIMDTools.docc/WorkingWith3x3Matrices.md) | ||
- [Working With 4x4 Matrices](Sources/SIMDTools/SIMDTools.docc/WorkingWith4x4Matrices.md) | ||
- [Helper Functions](Sources/SIMDTools/SIMDTools.docc/HelperFunctions.md) | ||
|
||
## License | ||
|
||
MetalTools is licensed under [MIT license](LICENSE). |