From e986af3b6eb10965b37198721793bcc897613704 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 21 Nov 2010 10:54:11 +0000 Subject: [PATCH] Fixed issue [#1895]: "Vector3d.Equals(object obj) defined in terms of Vector3, not Vector3d". --- Source/OpenTK/Math/Vector3d.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/OpenTK/Math/Vector3d.cs b/Source/OpenTK/Math/Vector3d.cs index f61c3ec8..5af1aeb5 100644 --- a/Source/OpenTK/Math/Vector3d.cs +++ b/Source/OpenTK/Math/Vector3d.cs @@ -1364,10 +1364,10 @@ namespace OpenTK /// True if the instances are equal; false otherwise. public override bool Equals(object obj) { - if (!(obj is Vector3)) + if (!(obj is Vector3d)) return false; - return this.Equals((Vector3)obj); + return this.Equals((Vector3d)obj); } #endregion