Fixed issue [#1895]: "Vector3d.Equals(object obj) defined in terms of Vector3, not Vector3d".
This commit is contained in:
parent
d8612f4df6
commit
e986af3b6e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue