Removed obsolete constructors from Vector2.
This commit is contained in:
parent
eab5028fe6
commit
b26bc3f158
1 changed files with 0 additions and 33 deletions
|
@ -73,39 +73,6 @@ namespace OpenTK
|
|||
Y = y;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new Vector2 from the given Vector2.
|
||||
/// </summary>
|
||||
/// <param name="v">The Vector2 to copy components from.</param>
|
||||
[Obsolete]
|
||||
public Vector2(Vector2 v)
|
||||
{
|
||||
X = v.X;
|
||||
Y = v.Y;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new Vector2 from the given Vector3.
|
||||
/// </summary>
|
||||
/// <param name="v">The Vector3 to copy components from. Z is discarded.</param>
|
||||
[Obsolete]
|
||||
public Vector2(Vector3 v)
|
||||
{
|
||||
X = v.X;
|
||||
Y = v.Y;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new Vector2 from the given Vector4.
|
||||
/// </summary>
|
||||
/// <param name="v">The Vector4 to copy components from. Z and W are discarded.</param>
|
||||
[Obsolete]
|
||||
public Vector2(Vector4 v)
|
||||
{
|
||||
X = v.X;
|
||||
Y = v.Y;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Members
|
||||
|
|
Loading…
Reference in a new issue