We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0899bd3 + 44ebe0b commit 2870cf3Copy full SHA for 2870cf3
stdlib/public/SDK/simd/Quaternion.swift.gyb
@@ -43,13 +43,6 @@ extension ${quat} {
43
vector = simd_make_${vec4}(imag, real)
44
}
45
46
- /// Construct a quaternion from a vector; the imaginary parts are the first
47
- /// three components of the vector, and the real part is the last component.
48
- @_transparent
49
- public init(vector: ${vec4}) {
50
- self.vector = vector
51
- }
52
-
53
/// A quaternion whose action is a rotation by `angle` radians about `axis`.
54
///
55
/// - Parameters:
0 commit comments