Removed this property to maintain parity with the Matrix4 structure.
This commit is contained in:
parent
e630b600a2
commit
48008d1e6a
1 changed files with 0 additions and 32 deletions
|
@ -163,38 +163,6 @@ namespace OpenTK
|
||||||
get { return new Vector4d (Row0.W, Row1.W, Row2.W, Row3.W); }
|
get { return new Vector4d (Row0.W, Row1.W, Row2.W, Row3.W); }
|
||||||
}
|
}
|
||||||
|
|
||||||
public double this[int i, int j]
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
if (i < 0 || i > 3)
|
|
||||||
throw new ArgumentOutOfRangeException("i");
|
|
||||||
|
|
||||||
if (j < 0 || j > 3)
|
|
||||||
throw new ArgumentOutOfRangeException("j");
|
|
||||||
|
|
||||||
unsafe
|
|
||||||
{
|
|
||||||
fixed (Matrix4d* ptr = &this)
|
|
||||||
return *((double*)ptr + i + j * 4);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
if (i < 0 || i > 3)
|
|
||||||
throw new ArgumentOutOfRangeException("i");
|
|
||||||
|
|
||||||
if (j < 0 || j > 3)
|
|
||||||
throw new ArgumentOutOfRangeException("j");
|
|
||||||
|
|
||||||
unsafe
|
|
||||||
{
|
|
||||||
fixed (Matrix4d* ptr = &this)
|
|
||||||
*((double*)ptr + i + j * 4) = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the value at row 1, column 1 of this instance.
|
/// Gets or sets the value at row 1, column 1 of this instance.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in a new issue