feat: added .ApplyMatrix extension method for Matrix4x4
This commit is contained in:
@@ -436,4 +436,9 @@ public static class Matrix4x4Extensions
|
|||||||
|
|
||||||
/// <inheritdoc cref="Matrix4x4.ToRightHanded(Matrix4x4) />
|
/// <inheritdoc cref="Matrix4x4.ToRightHanded(Matrix4x4) />
|
||||||
public static Matrix4x4 ToRightHanded(this Matrix4x4 matrix) => Matrix4x4.ToRightHanded(matrix);
|
public static Matrix4x4 ToRightHanded(this Matrix4x4 matrix) => Matrix4x4.ToRightHanded(matrix);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Multiplies two <see cref="Matrix4x4"/>'s.
|
||||||
|
/// </summary>
|
||||||
|
public static Matrix4x4 ApplyMatrix(this Matrix4x4 left, Matrix4x4 right) => left * right;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user