Fix: Incorrect documentation for MathHelper.NextPowerOfTwo
authorChristopher Lees <leezer3@gmail.com>
Tue, 31 Jan 2017 14:19:39 +0000 (14:19 +0000)
committerChristopher Lees <leezer3@gmail.com>
Tue, 31 Jan 2017 14:19:39 +0000 (14:19 +0000)
Fix: Typo in readme

README.md
src/OpenTK/Math/MathHelper.cs

index 7c3b94f..da67882 100644 (file)
--- 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.
 
index 87fad76..81ad33b 100644 (file)
@@ -78,7 +78,7 @@ namespace OpenTK
         #region NextPowerOfTwo
 
         /// <summary>
-        /// 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.
         /// </summary>
         /// <param name="n">The specified number.</param>
         /// <returns>The next power of two.</returns>
@@ -89,7 +89,7 @@ namespace OpenTK
         }
 
         /// <summary>
-        /// 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.
         /// </summary>
         /// <param name="n">The specified number.</param>
         /// <returns>The next power of two.</returns>
@@ -100,7 +100,7 @@ namespace OpenTK
         }
 
         /// <summary>
-        /// 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.
         /// </summary>
         /// <param name="n">The specified number.</param>
         /// <returns>The next power of two.</returns>
@@ -111,7 +111,7 @@ namespace OpenTK
         }
 
         /// <summary>
-        /// 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.
         /// </summary>
         /// <param name="n">The specified number.</param>
         /// <returns>The next power of two.</returns>