From: Christopher Lees Date: Tue, 31 Jan 2017 14:19:39 +0000 (+0000) Subject: Fix: Incorrect documentation for MathHelper.NextPowerOfTwo X-Git-Tag: v3.0.0~124^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02e18910982c8a4511d8b3576c24f4f64d491852;p=platform%2Fcore%2Fcsapi%2Fopentk.git Fix: Incorrect documentation for MathHelper.NextPowerOfTwo Fix: Typo in readme --- 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.