Extensions
The following extensions are available globally.
-
Declaration
-
Declaration
Swift
public extension simd_double3
-
Declaration
Swift
public extension simd_float3
-
Declaration
Swift
public extension simd_double4
-
Declaration
Swift
public extension simd_float4
-
Declaration
-
Declaration
-
Todo
I would love to collapse these into a single generic for bothDouble
andFloat
usingsimd_mix
but I still haven’t quite figured it out yet. PRs would be awesome!Declaration
Swift
extension SIMD2: Interpolatable where Scalar: FloatingPoint & SIMDScalar
-
Declaration
-
Declaration
Swift
public extension SIMD4
extension SIMD4: Interpolatable where Scalar: FloatingPoint & SIMDScalar
-
Declaration
Swift
public extension simd_double4x4
-
Declaration
Swift
public extension simd_float4x4
-
Declaration
-
Declaration