diff --git a/Source/OpenTK/Audio/OpenAL/AL/AL.cs b/Source/OpenTK/Audio/OpenAL/AL/AL.cs index a978f01f..9a883150 100644 --- a/Source/OpenTK/Audio/OpenAL/AL/AL.cs +++ b/Source/OpenTK/Audio/OpenAL/AL/AL.cs @@ -65,6 +65,9 @@ typedef void ALvoid; namespace OpenTK.Audio.OpenAL { + /// + /// Provides access to the OpenAL 1.1 flat API. + /// public static partial class AL { diff --git a/Source/OpenTK/Audio/OpenAL/AL/XRamExtension.cs b/Source/OpenTK/Audio/OpenAL/AL/XRamExtension.cs index 27ae494f..95a64f85 100644 --- a/Source/OpenTK/Audio/OpenAL/AL/XRamExtension.cs +++ b/Source/OpenTK/Audio/OpenAL/AL/XRamExtension.cs @@ -14,7 +14,10 @@ using System.Runtime.InteropServices; namespace OpenTK.Audio.OpenAL { - ///The X-Ram Extension is provided on the top-end Sound Blaster X-Fi solutions (Sound Blaster X-Fi Fatal1ty, Sound Blaster X-Fi Elite Pro, or later). These products feature 64MB of X-Ram that can only be used for audio purposes, which can be controlled by this Extension. + /// + ///The X-Ram Extension is provided on the top-end Sound Blaster X-Fi solutions (Sound Blaster X-Fi Fatal1ty, Sound Blaster X-Fi Elite Pro, or later). + ///These products feature 64MB of X-Ram that can only be used for audio purposes, which can be controlled by this Extension. + /// [CLSCompliant(true)] public sealed class XRamExtension { @@ -56,6 +59,9 @@ namespace OpenTK.Audio.OpenAL #region Constructor / Extension Loading + /// + /// Constructs a new XRamExtension instance. + /// public XRamExtension() { // Query if Extension supported and retrieve Tokens/Pointers if it is. _valid = false; diff --git a/Source/OpenTK/Audio/OpenAL/Alc/AlcEnums.cs b/Source/OpenTK/Audio/OpenAL/Alc/AlcEnums.cs index 8ff1cb9d..db298b3a 100644 --- a/Source/OpenTK/Audio/OpenAL/Alc/AlcEnums.cs +++ b/Source/OpenTK/Audio/OpenAL/Alc/AlcEnums.cs @@ -60,7 +60,7 @@ namespace OpenTK.Audio.OpenAL } /// - /// Defines available parameters for . + /// Defines available parameters for . /// public enum AlcGetString : int { diff --git a/Source/OpenTK/Graphics/IGraphicsContext.cs b/Source/OpenTK/Graphics/IGraphicsContext.cs index 66e9e63f..b0d86186 100644 --- a/Source/OpenTK/Graphics/IGraphicsContext.cs +++ b/Source/OpenTK/Graphics/IGraphicsContext.cs @@ -66,9 +66,6 @@ namespace OpenTK.Graphics bool ErrorChecking { get; set; } } - [Obsolete] - public delegate void DestroyEvent(T sender, EventArgs e); - // Functions for internal use by OpenTK. // TODO: RegisterForDisposal/DisposeResources for 0.3.15 (GC & OpenGL) // TODO: Remove or move GetDisplayModes to another class. diff --git a/Source/OpenTK/Input/KeyboardState.cs b/Source/OpenTK/Input/KeyboardState.cs index 9a2c87af..f97c7625 100644 --- a/Source/OpenTK/Input/KeyboardState.cs +++ b/Source/OpenTK/Input/KeyboardState.cs @@ -42,7 +42,6 @@ namespace OpenTK.Input // Todo: The following line triggers bogus CS0214 in gmcs 2.0.1, sigh... // Need to add a workaround using either ExplicitLayout or another trick. //unsafe fixed int Keys[NumKeys]; - readonly int[] Keys; #endregion diff --git a/Source/OpenTK/Math/Box2.cs b/Source/OpenTK/Math/Box2.cs index 5bf223cc..cbc22b4c 100644 --- a/Source/OpenTK/Math/Box2.cs +++ b/Source/OpenTK/Math/Box2.cs @@ -87,6 +87,10 @@ namespace OpenTK /// public float Height { get { return (float)System.Math.Abs(Bottom - Top); } } + /// + /// Returns a describing the current instance. + /// + /// public override string ToString() { return String.Format("({0},{1})-({2},{3})", Left, Top, Right, Bottom); diff --git a/Source/OpenTK/Math/MathHelper.cs b/Source/OpenTK/Math/MathHelper.cs index 7837f572..4b303037 100644 --- a/Source/OpenTK/Math/MathHelper.cs +++ b/Source/OpenTK/Math/MathHelper.cs @@ -71,20 +71,6 @@ namespace OpenTK /// public const float Log2E = 1.442695041f; - [Obsolete] - public static readonly float PIF = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930382f; - [Obsolete] - public static readonly float RTODF = 180.0f / PIF; - [Obsolete] - public static readonly float DTORF = PIF / 180.0f; - - [Obsolete] - public static readonly double PI = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930382d; - [Obsolete] - public static readonly double RTOD = 180.0d / PIF; - [Obsolete] - public static readonly double DTOR = PIF / 180.0d; - #endregion #region Public Members