mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-08-20 09:21:57 +08:00
Pass TransformationMatrix by reference in TransformationMatrix.Multiply
This commit is contained in:
parent
cfe1884829
commit
cc2de45377
@ -374,7 +374,7 @@
|
||||
/// <param name="matrix">The matrix to multiply</param>
|
||||
/// <returns>The resulting matrix.</returns>
|
||||
[Pure]
|
||||
public TransformationMatrix Multiply(TransformationMatrix matrix)
|
||||
public TransformationMatrix Multiply(in TransformationMatrix matrix)
|
||||
{
|
||||
var a = (A * matrix.A) + (B * matrix.C) + (row1 * matrix.E);
|
||||
var b = (A * matrix.B) + (B * matrix.D) + (row1 * matrix.F);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user