/// <summary>Returns a value indicating whether this instance is equal to a specified OpenTK.Half4 vector.</summary> /// <param name="other">OpenTK.Half4 to compare to this instance..</param> /// <returns>True, if other is equal to this instance; false otherwise.</returns> public bool Equals(Vector4h other) { return(X.Equals(other.X) && Y.Equals(other.Y) && Z.Equals(other.Z) && W.Equals(other.W)); }
/// <summary>Returns a value indicating whether this instance is equal to a specified OpenTK.Half2 vector.</summary> /// <param name="other">OpenTK.Half2 to compare to this instance..</param> /// <returns>True, if other is equal to this instance; false otherwise.</returns> public bool Equals(Vector2h other) { return(X.Equals(other.X) && Y.Equals(other.Y)); }