Glm/vec2.cs
/// <summary>
/// Determines whether the specified <see cref="System.Object" />, is equal to this instance.
/// The Difference is detected by the different values
/// </summary>
/// <param name="obj">The <see cref="System.Object" /> to compare with this instance.</param>
/// <returns>
///   <c>true</c> if the specified <see cref="System.Object" /> is equal to this instance; otherwise, <c>false</c>.
/// </returns>
Determines whether the specified , is equal to this instance.
The Difference is detected by the different values
Determines whether the specified is equal to this instance . The Difference is detected by the different values
public override bool Equals(object obj)
        {
            if (obj.GetType() == typeof(vec2))
            {
                var vec = (vec2)obj;
                if (this.x == vec.x && this.y == vec.y)
                    return true;
            }
            return false;
        }
public override bool Equals ( object obj ) { if ( obj . GetType ( ) == typeof ( vec2 ) ) { var vec = ( vec2 ) obj ; if ( this . x == vec . x && this . y == vec . y ) return true ; } return false ; }
Determines whether the specified , is equal to this instance.
Determines whether the specified is equal to this instance .
true is equal to this instance; otherwise, false
true is equal to this instance ; otherwise false
obj
object
The  to compare with this instance.
The to compare with this instance .