From 02e18910982c8a4511d8b3576c24f4f64d491852 Mon Sep 17 00:00:00 2001 From: Christopher Lees Date: Tue, 31 Jan 2017 14:19:39 +0000 Subject: [PATCH] Fix: Incorrect documentation for MathHelper.NextPowerOfTwo Fix: Typo in readme --- README.md | 2 +- src/OpenTK/Math/MathHelper.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7c3b94f..da67882 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ OpenTK 1.1.4c was released on 24 July 2014. This is a hotfix release that improves stability on Mac OS X. Moreover, it synchronizes the GamePad configuration database with SDL 2.0.4 and fixes an invalid GUID introduced in 1.1.4b. -### 214-07-21 +### 2014-07-21 OpenTK 1.1.4 was released on 21 July 2014. diff --git a/src/OpenTK/Math/MathHelper.cs b/src/OpenTK/Math/MathHelper.cs index 87fad76..81ad33b 100644 --- a/src/OpenTK/Math/MathHelper.cs +++ b/src/OpenTK/Math/MathHelper.cs @@ -78,7 +78,7 @@ namespace OpenTK #region NextPowerOfTwo /// - /// Returns the next power of two that is larger than the specified number. + /// Returns the next power of two that is greater than or equal to the specified number. /// /// The specified number. /// The next power of two. @@ -89,7 +89,7 @@ namespace OpenTK } /// - /// Returns the next power of two that is larger than the specified number. + /// Returns the next power of two that is greater than or equal to the specified number. /// /// The specified number. /// The next power of two. @@ -100,7 +100,7 @@ namespace OpenTK } /// - /// Returns the next power of two that is larger than the specified number. + /// Returns the next power of two that is greater than or equal to the specified number. /// /// The specified number. /// The next power of two. @@ -111,7 +111,7 @@ namespace OpenTK } /// - /// Returns the next power of two that is larger than the specified number. + /// Returns the next power of two that is greater than or equal to the specified number. /// /// The specified number. /// The next power of two. -- 2.7.4