Fix parameter on multiplication header

This commit is contained in:
Markus Winter authored and Stephen Canon committed 2025-08-14 21:46:11 -04:00
1 parent 09c038ed3b
commit 43932b1cfe
1 file changed
+1 -1
+1 -1
View File
@@ -53,7 +53,7 @@ extension Quaternion {
// MARK: - Multiplicative structure
extension Quaternion: AlgebraicField {
@_transparent
public static func * (lhs: Self, rhs: Self) -> Quaternion {
public static func * (lhs: Quaternion, rhs: Quaternion) -> Quaternion {
let rhsA = SIMD4(+rhs.components.x, -rhs.components.y, -rhs.components.z, -rhs.components.w)
let rhsB = SIMD4(+rhs.components.y, +rhs.components.x, +rhs.components.w, -rhs.components.z)