Skip to content

Commit db723db

Browse files
committed
Optimize multiply
1 parent fdcecfd commit db723db

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ImageSharp/Primitives/ColorMatrix.Impl.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,7 @@ public readonly bool IsIdentity
134134
result.V += right.Z * left.V.Z;
135135
result.V += right.W * left.V.W;
136136

137-
result.V.X += right.V.X;
138-
result.V.Y += right.V.Y;
139-
result.V.Z += right.V.Z;
140-
result.V.W += right.V.W;
137+
result.V += right.V;
141138

142139
return result;
143140
}

0 commit comments

Comments
 (0)