Fixed documentation which describes w components as z components (patch by iRBiS).

This commit is contained in:
the_fiddler 2009-11-09 08:12:34 +00:00
parent 5c225c0ff6
commit aedb514b84
4 changed files with 12 additions and 12 deletions

View file

@ -104,7 +104,7 @@ namespace OpenTK.Math
/// <param name="x">The x component of the Vector4.</param>
/// <param name="y">The y component of the Vector4.</param>
/// <param name="z">The z component of the Vector4.</param>
/// <param name="w">The z component of the Vector4.</param>
/// <param name="w">The w component of the Vector4.</param>
public Vector4(float x, float y, float z, float w)
{
X = x;
@ -138,10 +138,10 @@ namespace OpenTK.Math
}
/// <summary>
/// Constructs a new Vector4 from the specified Vector3 and W component.
/// Constructs a new Vector4 from the specified Vector3 and w component.
/// </summary>
/// <param name="v">The Vector3 to copy components from.</param>
/// <param name="w">The W component of the new Vector4.</param>
/// <param name="w">The w component of the new Vector4.</param>
public Vector4(Vector3 v, float w)
{
X = v.X;

View file

@ -101,7 +101,7 @@ namespace OpenTK.Math
/// <param name="x">The x component of the Vector4d.</param>
/// <param name="y">The y component of the Vector4d.</param>
/// <param name="z">The z component of the Vector4d.</param>
/// <param name="w">The z component of the Vector4d.</param>
/// <param name="w">The w component of the Vector4d.</param>
public Vector4d(double x, double y, double z, double w)
{
X = x;
@ -135,10 +135,10 @@ namespace OpenTK.Math
}
/// <summary>
/// Constructs a new Vector4d from the specified Vector3d and W component.
/// Constructs a new Vector4d from the specified Vector3d and w component.
/// </summary>
/// <param name="v">The Vector3d to copy components from.</param>
/// <param name="w">The W component of the new Vector4.</param>
/// <param name="w">The w component of the new Vector4.</param>
public Vector4d(Vector3 v, double w)
{
X = v.X;

View file

@ -102,7 +102,7 @@ namespace OpenTK
/// <param name="x">The x component of the Vector4.</param>
/// <param name="y">The y component of the Vector4.</param>
/// <param name="z">The z component of the Vector4.</param>
/// <param name="w">The z component of the Vector4.</param>
/// <param name="w">The w component of the Vector4.</param>
public Vector4(float x, float y, float z, float w)
{
X = x;
@ -136,10 +136,10 @@ namespace OpenTK
}
/// <summary>
/// Constructs a new Vector4 from the specified Vector3 and W component.
/// Constructs a new Vector4 from the specified Vector3 and w component.
/// </summary>
/// <param name="v">The Vector3 to copy components from.</param>
/// <param name="w">The W component of the new Vector4.</param>
/// <param name="w">The w component of the new Vector4.</param>
public Vector4(Vector3 v, float w)
{
X = v.X;

View file

@ -100,7 +100,7 @@ namespace OpenTK
/// <param name="x">The x component of the Vector4d.</param>
/// <param name="y">The y component of the Vector4d.</param>
/// <param name="z">The z component of the Vector4d.</param>
/// <param name="w">The z component of the Vector4d.</param>
/// <param name="w">The w component of the Vector4d.</param>
public Vector4d(double x, double y, double z, double w)
{
X = x;
@ -134,10 +134,10 @@ namespace OpenTK
}
/// <summary>
/// Constructs a new Vector4d from the specified Vector3d and W component.
/// Constructs a new Vector4d from the specified Vector3d and w component.
/// </summary>
/// <param name="v">The Vector3d to copy components from.</param>
/// <param name="w">The W component of the new Vector4.</param>
/// <param name="w">The w component of the new Vector4.</param>
public Vector4d(Vector3 v, double w)
{
X = v.X;