diff --git a/Source/OpenTK/Math/Matrix3d.cs b/Source/OpenTK/Math/Matrix3d.cs index ff086492..e142d853 100644 --- a/Source/OpenTK/Math/Matrix3d.cs +++ b/Source/OpenTK/Math/Matrix3d.cs @@ -13,6 +13,9 @@ using System.Runtime.InteropServices; namespace OpenTK.Math { + // Todo: Remove this warning when the code goes public. + #pragma warning disable 3019 + [Serializable] [StructLayout(LayoutKind.Sequential)] internal struct Matrix3d : IEquatable @@ -807,4 +810,6 @@ namespace OpenTK.Math #endregion } + + #pragma warning restore 3019 } diff --git a/Source/OpenTK/Math/Matrix4d.cs b/Source/OpenTK/Math/Matrix4d.cs index 8f30b575..a55a0352 100644 --- a/Source/OpenTK/Math/Matrix4d.cs +++ b/Source/OpenTK/Math/Matrix4d.cs @@ -13,6 +13,9 @@ using System.Runtime.InteropServices; namespace OpenTK.Math { + // Todo: Remove this warning when the code goes public. +#pragma warning disable 3019 + [Serializable] [StructLayout(LayoutKind.Sequential)] internal struct Matrix4d : IEquatable @@ -75,7 +78,7 @@ namespace OpenTK.Math { get { - switch( row ) + switch (row) { case 0: switch (column) @@ -122,7 +125,7 @@ namespace OpenTK.Math } set { - switch( row ) + switch (row) { case 0: switch (column) @@ -166,7 +169,8 @@ namespace OpenTK.Math } throw new IndexOutOfRangeException(); - } } + } + } /// Gets the component at the index into the matrix. /// The index into the components of the matrix. @@ -2361,4 +2365,6 @@ namespace OpenTK.Math #endregion } -} + + #pragma warning restore 3019 +} \ No newline at end of file diff --git a/Source/OpenTK/Math/Vector2d.cs b/Source/OpenTK/Math/Vector2d.cs index 61e8e753..4e1d0edd 100644 Binary files a/Source/OpenTK/Math/Vector2d.cs and b/Source/OpenTK/Math/Vector2d.cs differ diff --git a/Source/OpenTK/Math/Vector3d.cs b/Source/OpenTK/Math/Vector3d.cs index 4a9b3f06..8a0ea6be 100644 Binary files a/Source/OpenTK/Math/Vector3d.cs and b/Source/OpenTK/Math/Vector3d.cs differ diff --git a/Source/OpenTK/Math/Vector4d.cs b/Source/OpenTK/Math/Vector4d.cs index 3555ebfa..ba01a11a 100644 --- a/Source/OpenTK/Math/Vector4d.cs +++ b/Source/OpenTK/Math/Vector4d.cs @@ -16,6 +16,9 @@ using System.Text.RegularExpressions; namespace OpenTK.Math { + // Todo: Remove this warning when the code goes public. + #pragma warning disable 3019 + /// A 4-dimensional vector using double-precision floating point numbers. [Serializable] [StructLayout(LayoutKind.Sequential)] @@ -1351,4 +1354,6 @@ namespace OpenTK.Math #endregion } + + #pragma warning restore 3019 } \ No newline at end of file