Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix3x3+Codable #6

Merged
merged 5 commits into from
Mar 6, 2020
Merged

Matrix3x3+Codable #6

merged 5 commits into from
Mar 6, 2020

Conversation

eugenebokhan
Copy link
Contributor

No description provided.

@@ -57,6 +57,10 @@ public struct Matrix3x3f {
public static func *(lhs: Matrix3x3f, rhs: Matrix3x3f) -> Matrix3x3f {
return unsafeBitCast(lhs.d * rhs.d, to: Matrix3x3f.self)
}

public static func == (lhs: Matrix3x3f, rhs: Matrix3x3f) -> Bool {
float3x3(lhs) == float3x3(rhs)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's compare d

Sources/Matrix4x4+simd.swift Outdated Show resolved Hide resolved
@s1ddok s1ddok merged commit d81238a into SwiftGFX:master Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants