From 67fed8705f898345bf845540aedfaf9976c22e9b Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Fri, 6 Nov 2009 16:46:28 +0000 Subject: [PATCH] Fixed spelling of hertz and fps. Fixes issue [#1333]: "Spelling of SI units in documentation and captions". Patch by iRBiS. --- Source/Examples/OpenGL/1.1/StencilCSG.cs | 2 +- Source/OpenTK/DisplayDevice.cs | 2 +- Source/OpenTK/DisplayResolution.cs | 2 +- Source/OpenTK/GameWindow.cs | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/Examples/OpenGL/1.1/StencilCSG.cs b/Source/Examples/OpenGL/1.1/StencilCSG.cs index f3e388f7..e3516f8c 100644 --- a/Source/Examples/OpenGL/1.1/StencilCSG.cs +++ b/Source/Examples/OpenGL/1.1/StencilCSG.cs @@ -257,7 +257,7 @@ namespace Examples.Tutorial protected override void OnRenderFrame( FrameEventArgs e ) { - this.Title = WindowTitle + " fps: " + ( 1f / e.Time ).ToString("0."); + this.Title = WindowTitle + " FPS: " + ( 1f / e.Time ).ToString("0."); MySphereZOffset += (float)( e.Time * 3.1 ); MySphereXOffset += (float)( e.Time * 4.2 ); diff --git a/Source/OpenTK/DisplayDevice.cs b/Source/OpenTK/DisplayDevice.cs index 82863555..86f0e3cd 100644 --- a/Source/OpenTK/DisplayDevice.cs +++ b/Source/OpenTK/DisplayDevice.cs @@ -167,7 +167,7 @@ namespace OpenTK /// The width of the requested resolution in pixels. /// The height of the requested resolution in pixels. /// The bits per pixel of the requested resolution. - /// The refresh rate of the requested resolution in Herz. + /// The refresh rate of the requested resolution in hertz. /// The requested DisplayResolution or null if the parameters cannot be met. /// /// If a matching resolution is not found, this function will retry ignoring the specified refresh rate, diff --git a/Source/OpenTK/DisplayResolution.cs b/Source/OpenTK/DisplayResolution.cs index 3d5b17b8..703a203b 100644 --- a/Source/OpenTK/DisplayResolution.cs +++ b/Source/OpenTK/DisplayResolution.cs @@ -53,7 +53,7 @@ namespace OpenTK /// The requested width in pixels. /// The requested height in pixels. /// The requested bits per pixel in bits. - /// The requested refresh rate in Herz. + /// The requested refresh rate in hertz. /// OpenTK will select the closest match between all available resolutions on the specified DisplayDevice. /// public DisplayResolution(int width, int height, int bitsPerPixel, float refreshRate, DisplayDevice device) diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index 6ccf3124..d997db77 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -616,7 +616,7 @@ namespace OpenTK #region RenderFrequency /// - /// Gets a double representing the actual frequency of RenderFrame events, in Herz (i.e. FPS or Frames Per Second). + /// Gets a double representing the actual frequency of RenderFrame events, in hertz (i.e. fps or frames per second). /// public double RenderFrequency { @@ -671,7 +671,7 @@ namespace OpenTK #region TargetRenderFrequency /// - /// Gets or sets a double representing the target render frequency, in Herz. + /// Gets or sets a double representing the target render frequency, in hertz. /// /// /// A value of 0.0 indicates that RenderFrame events are generated at the maximum possible frequency (i.e. only limited by the hardware's capabilities). @@ -739,7 +739,7 @@ namespace OpenTK #region TargetUpdateFrequency /// - /// Gets or sets a double representing the target update frequency, in Herz. + /// Gets or sets a double representing the target update frequency, in hertz. /// /// /// A value of 0.0 indicates that UpdateFrame events are generated at the maximum possible frequency (i.e. only limited by the hardware's capabilities). @@ -807,7 +807,7 @@ namespace OpenTK #region UpdateFrequency /// - /// Gets a double representing the frequency of UpdateFrame events, in Herz. + /// Gets a double representing the frequency of UpdateFrame events, in hertz. /// public double UpdateFrequency {