SwiftGFX / SwiftMath

Cross-platform math library with SIMD support
BSD 2-Clause "Simplified" License
63 stars 14 forks source link

matrix_float3x3 is not cross platform type #7

Closed yangfengzzz closed 4 years ago

yangfengzzz commented 4 years ago

as far as I know, matrix_float3x3 is from the SIMD framework(Part of Accelerator framework) but not the standard library of Swift

s1ddok commented 4 years ago

yes, that’s why we provide manual implementation under NOSIMD flag! https://github.com/SwiftGFX/SwiftMath/blob/master/Sources/Matrix3x3%2Bnosimd.swift