Fixed documentation which describes w components as z components (patch by iRBiS).
This commit is contained in:
parent
84e034a75b
commit
d4457c6ce1
4 changed files with 12 additions and 12 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue