48 lines
2.5 KiB
Swift
48 lines
2.5 KiB
Swift
// WARNING: Please don't edit this file. It was generated by Swift/WinRT v0.0.1
|
|
// swiftlint:disable all
|
|
import Foundation
|
|
import CWinRT
|
|
|
|
public enum __ABI_Windows_Foundation_Numerics {
|
|
}
|
|
extension __x_ABI_CWindows_CFoundation_CNumerics_CMatrix3x2 {
|
|
public static func from(swift: WindowsFoundation.Matrix3x2) -> __x_ABI_CWindows_CFoundation_CNumerics_CMatrix3x2 {
|
|
.init(M11: swift.m11, M12: swift.m12, M21: swift.m21, M22: swift.m22, M31: swift.m31, M32: swift.m32)
|
|
}
|
|
}
|
|
extension __x_ABI_CWindows_CFoundation_CNumerics_CMatrix4x4 {
|
|
public static func from(swift: WindowsFoundation.Matrix4x4) -> __x_ABI_CWindows_CFoundation_CNumerics_CMatrix4x4 {
|
|
.init(M11: swift.m11, M12: swift.m12, M13: swift.m13, M14: swift.m14, M21: swift.m21, M22: swift.m22, M23: swift.m23, M24: swift.m24, M31: swift.m31, M32: swift.m32, M33: swift.m33, M34: swift.m34, M41: swift.m41, M42: swift.m42, M43: swift.m43, M44: swift.m44)
|
|
}
|
|
}
|
|
extension __x_ABI_CWindows_CFoundation_CNumerics_CVector3 {
|
|
public static func from(swift: WindowsFoundation.Vector3) -> __x_ABI_CWindows_CFoundation_CNumerics_CVector3 {
|
|
.init(X: swift.x, Y: swift.y, Z: swift.z)
|
|
}
|
|
}
|
|
extension __x_ABI_CWindows_CFoundation_CNumerics_CPlane {
|
|
public static func from(swift: WindowsFoundation.Plane) -> __x_ABI_CWindows_CFoundation_CNumerics_CPlane {
|
|
.init(Normal: .from(swift: swift.normal), D: swift.d)
|
|
}
|
|
}
|
|
extension __x_ABI_CWindows_CFoundation_CNumerics_CQuaternion {
|
|
public static func from(swift: WindowsFoundation.Quaternion) -> __x_ABI_CWindows_CFoundation_CNumerics_CQuaternion {
|
|
.init(X: swift.x, Y: swift.y, Z: swift.z, W: swift.w)
|
|
}
|
|
}
|
|
extension __x_ABI_CWindows_CFoundation_CNumerics_CRational {
|
|
public static func from(swift: WindowsFoundation.Rational) -> __x_ABI_CWindows_CFoundation_CNumerics_CRational {
|
|
.init(Numerator: swift.numerator, Denominator: swift.denominator)
|
|
}
|
|
}
|
|
extension __x_ABI_CWindows_CFoundation_CNumerics_CVector2 {
|
|
public static func from(swift: WindowsFoundation.Vector2) -> __x_ABI_CWindows_CFoundation_CNumerics_CVector2 {
|
|
.init(X: swift.x, Y: swift.y)
|
|
}
|
|
}
|
|
extension __x_ABI_CWindows_CFoundation_CNumerics_CVector4 {
|
|
public static func from(swift: WindowsFoundation.Vector4) -> __x_ABI_CWindows_CFoundation_CNumerics_CVector4 {
|
|
.init(X: swift.x, Y: swift.y, Z: swift.z, W: swift.w)
|
|
}
|
|
}
|
|
|