Fixed spelling of hertz and fps. Fixes issue [#1333]: "Spelling of SI units in documentation and captions". Patch by iRBiS.
This commit is contained in:
parent
e2b3bda885
commit
67fed8705f
4 changed files with 7 additions and 7 deletions
|
@ -257,7 +257,7 @@ namespace Examples.Tutorial
|
||||||
|
|
||||||
protected override void OnRenderFrame( FrameEventArgs e )
|
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 );
|
MySphereZOffset += (float)( e.Time * 3.1 );
|
||||||
MySphereXOffset += (float)( e.Time * 4.2 );
|
MySphereXOffset += (float)( e.Time * 4.2 );
|
||||||
|
|
|
@ -167,7 +167,7 @@ namespace OpenTK
|
||||||
/// <param name="width">The width of the requested resolution in pixels.</param>
|
/// <param name="width">The width of the requested resolution in pixels.</param>
|
||||||
/// <param name="height">The height of the requested resolution in pixels.</param>
|
/// <param name="height">The height of the requested resolution in pixels.</param>
|
||||||
/// <param name="bitsPerPixel">The bits per pixel of the requested resolution.</param>
|
/// <param name="bitsPerPixel">The bits per pixel of the requested resolution.</param>
|
||||||
/// <param name="refreshRate">The refresh rate of the requested resolution in Herz.</param>
|
/// <param name="refreshRate">The refresh rate of the requested resolution in hertz.</param>
|
||||||
/// <returns>The requested DisplayResolution or null if the parameters cannot be met.</returns>
|
/// <returns>The requested DisplayResolution or null if the parameters cannot be met.</returns>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// <para>If a matching resolution is not found, this function will retry ignoring the specified refresh rate,
|
/// <para>If a matching resolution is not found, this function will retry ignoring the specified refresh rate,
|
||||||
|
|
|
@ -53,7 +53,7 @@ namespace OpenTK
|
||||||
/// <param name="width">The requested width in pixels.</param>
|
/// <param name="width">The requested width in pixels.</param>
|
||||||
/// <param name="height">The requested height in pixels.</param>
|
/// <param name="height">The requested height in pixels.</param>
|
||||||
/// <param name="bitsPerPixel">The requested bits per pixel in bits.</param>
|
/// <param name="bitsPerPixel">The requested bits per pixel in bits.</param>
|
||||||
/// <param name="refreshRate">The requested refresh rate in Herz.</param>
|
/// <param name="refreshRate">The requested refresh rate in hertz.</param>
|
||||||
/// <remarks>OpenTK will select the closest match between all available resolutions on the specified DisplayDevice.</remarks>
|
/// <remarks>OpenTK will select the closest match between all available resolutions on the specified DisplayDevice.</remarks>
|
||||||
///
|
///
|
||||||
public DisplayResolution(int width, int height, int bitsPerPixel, float refreshRate, DisplayDevice device)
|
public DisplayResolution(int width, int height, int bitsPerPixel, float refreshRate, DisplayDevice device)
|
||||||
|
|
|
@ -616,7 +616,7 @@ namespace OpenTK
|
||||||
#region RenderFrequency
|
#region RenderFrequency
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 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).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public double RenderFrequency
|
public double RenderFrequency
|
||||||
{
|
{
|
||||||
|
@ -671,7 +671,7 @@ namespace OpenTK
|
||||||
#region TargetRenderFrequency
|
#region TargetRenderFrequency
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a double representing the target render frequency, in Herz.
|
/// Gets or sets a double representing the target render frequency, in hertz.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// <para>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).</para>
|
/// <para>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).</para>
|
||||||
|
@ -739,7 +739,7 @@ namespace OpenTK
|
||||||
#region TargetUpdateFrequency
|
#region TargetUpdateFrequency
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a double representing the target update frequency, in Herz.
|
/// Gets or sets a double representing the target update frequency, in hertz.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// <para>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).</para>
|
/// <para>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).</para>
|
||||||
|
@ -807,7 +807,7 @@ namespace OpenTK
|
||||||
#region UpdateFrequency
|
#region UpdateFrequency
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a double representing the frequency of UpdateFrame events, in Herz.
|
/// Gets a double representing the frequency of UpdateFrame events, in hertz.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public double UpdateFrequency
|
public double UpdateFrequency
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue