From b26bc3f158e0acc23d04d7b8d5658500f47ed0b5 Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Tue, 20 Jun 2017 15:12:23 +0200 Subject: [PATCH] Removed obsolete constructors from Vector2. --- src/OpenTK/Math/Vector2.cs | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/src/OpenTK/Math/Vector2.cs b/src/OpenTK/Math/Vector2.cs index 19287154..d2d5b66c 100644 --- a/src/OpenTK/Math/Vector2.cs +++ b/src/OpenTK/Math/Vector2.cs @@ -73,39 +73,6 @@ namespace OpenTK Y = y; } - /// - /// Constructs a new Vector2 from the given Vector2. - /// - /// The Vector2 to copy components from. - [Obsolete] - public Vector2(Vector2 v) - { - X = v.X; - Y = v.Y; - } - - /// - /// Constructs a new Vector2 from the given Vector3. - /// - /// The Vector3 to copy components from. Z is discarded. - [Obsolete] - public Vector2(Vector3 v) - { - X = v.X; - Y = v.Y; - } - - /// - /// Constructs a new Vector2 from the given Vector4. - /// - /// The Vector4 to copy components from. Z and W are discarded. - [Obsolete] - public Vector2(Vector4 v) - { - X = v.X; - Y = v.Y; - } - #endregion #region Public Members