mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-20 13:28:01 +00:00
Converted tabs to spaces.
This commit is contained in:
parent
2cbff7261a
commit
2f9ccbc3af
|
@ -59,7 +59,7 @@ namespace OpenTK
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The zero matrix
|
/// The zero matrix
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static Matrix4x3 Zero = new Matrix4x3(Vector3.Zero, Vector3.Zero, Vector3.Zero, Vector3.Zero);
|
public static readonly Matrix4x3 Zero = new Matrix4x3(Vector3.Zero, Vector3.Zero, Vector3.Zero, Vector3.Zero);
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -230,6 +230,9 @@ namespace OpenTK
|
||||||
|
|
||||||
#region public void Invert()
|
#region public void Invert()
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Converts this instance into it's inverse by inverting the upper-left 3x3 and replacing Row3.
|
||||||
|
/// </summary>
|
||||||
public void Invert()
|
public void Invert()
|
||||||
{
|
{
|
||||||
this = Matrix4x3.Invert(this);
|
this = Matrix4x3.Invert(this);
|
||||||
|
@ -637,6 +640,12 @@ namespace OpenTK
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Multiplies two instances.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="left">The left operand of the multiplication.</param>
|
||||||
|
/// <param name="right">The right operand of the multiplication.</param>
|
||||||
|
/// <param name="result">A new instance that is the result of the multiplication</param>
|
||||||
public static void Mult(ref Matrix4x3 left, ref Matrix4x3 right, out Matrix4x3 result)
|
public static void Mult(ref Matrix4x3 left, ref Matrix4x3 right, out Matrix4x3 result)
|
||||||
{
|
{
|
||||||
float lM11 = left.Row0.X, lM12 = left.Row0.Y, lM13 = left.Row0.Z,
|
float lM11 = left.Row0.X, lM12 = left.Row0.Y, lM13 = left.Row0.Z,
|
||||||
|
@ -669,6 +678,7 @@ namespace OpenTK
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static void Mult(ref Matrix4x3 left, float right, out Matrix4x3 result)
|
public static void Mult(ref Matrix4x3 left, float right, out Matrix4x3 result)
|
||||||
{
|
{
|
||||||
result.Row0 = left.Row0 * right;
|
result.Row0 = left.Row0 * right;
|
||||||
|
|
Loading…
Reference in a new issue