Converted tabs to spaces.

This commit is contained in:
Robert Rouhani 2013-01-26 16:08:34 -05:00
parent 2cbff7261a
commit 2f9ccbc3af
11 changed files with 7540 additions and 7530 deletions

View file

@ -59,7 +59,7 @@ namespace OpenTK
/// <summary>
/// The zero matrix
/// </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
@ -230,6 +230,9 @@ namespace OpenTK
#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()
{
this = Matrix4x3.Invert(this);
@ -637,6 +640,12 @@ namespace OpenTK
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)
{
float lM11 = left.Row0.X, lM12 = left.Row0.Y, lM13 = left.Row0.Z,
@ -669,6 +678,7 @@ namespace OpenTK
return result;
}
public static void Mult(ref Matrix4x3 left, float right, out Matrix4x3 result)
{
result.Row0 = left.Row0 * right;