Skip to content

Commit 908bae3

Browse files
committed
Fix multiply
1 parent d2e6f0e commit 908bae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Primitives/ColorMatrix.Impl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public readonly bool IsIdentity
133133
result.V = right.X * left.V.X;
134134
result.V += right.Y * left.V.Y;
135135
result.V += right.Z * left.V.Z;
136-
result.V += right.W * left.V.W;
136+
result.V += (right.W * left.V.W) + right.W;
137137

138138
return result;
139139
}

0 commit comments

Comments
 (0)