Fixed issue [#1895]: "Vector3d.Equals(object obj) defined in terms of Vector3, not Vector3d".

This commit is contained in:
the_fiddler 2010-11-21 10:54:11 +00:00
parent d8612f4df6
commit e986af3b6e

View file

@ -1364,10 +1364,10 @@ namespace OpenTK
/// <returns>True if the instances are equal; false otherwise.</returns>
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