Skip to content

Commit fffd265

Browse files
authored
Update Quaternions README.md
1 parent 8ce5008 commit fffd265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/QuaternionModule/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This module provides a `Quaternion` type generic over an underlying `RealType`:
44

55
```swift
66
1> import QuaternionModule
7-
2> let q = Quaternion(1, (1,1,1)) // q = 1 + i + j + k
7+
2> let q = Quaternion(real: 1, imaginary: SIMD3(1, 1, 1)) // q = 1 + i + j + k
88
```
99

1010
The usual arithmetic operators are provided for Quaternions, many useful properties, plus conformances to the

0 commit comments

Comments
 (0)