From 866d46da534b37c1614f5b11409f056b88388139 Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Tue, 20 Jun 2017 15:18:27 +0200 Subject: [PATCH] Removed obsolete multiplication functions and renamed region. --- src/OpenTK/Math/Quaternion.cs | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/src/OpenTK/Math/Quaternion.cs b/src/OpenTK/Math/Quaternion.cs index e1801710..36b27663 100644 --- a/src/OpenTK/Math/Quaternion.cs +++ b/src/OpenTK/Math/Quaternion.cs @@ -337,35 +337,7 @@ namespace OpenTK #endregion - #region Mult - - /// - /// Multiplies two instances. - /// - /// The first instance. - /// The second instance. - /// A new instance containing the result of the calculation. - [Obsolete("Use Multiply instead.")] - public static Quaternion Mult(Quaternion left, Quaternion right) - { - return new Quaternion( - right.W * left.Xyz + left.W * right.Xyz + Vector3.Cross(left.Xyz, right.Xyz), - left.W * right.W - Vector3.Dot(left.Xyz, right.Xyz)); - } - - /// - /// Multiplies two instances. - /// - /// The first instance. - /// The second instance. - /// A new instance containing the result of the calculation. - [Obsolete("Use Multiply instead.")] - public static void Mult(ref Quaternion left, ref Quaternion right, out Quaternion result) - { - result = new Quaternion( - right.W * left.Xyz + left.W * right.Xyz + Vector3.Cross(left.Xyz, right.Xyz), - left.W * right.W - Vector3.Dot(left.Xyz, right.Xyz)); - } + #region Multiply /// /// Multiplies two instances.