예제 #1
0
 /// <summary>
 /// Returns a value that indicates whether two lines are equal.
 /// </summary>
 /// <param name="left">The first line to compare.</param>
 /// <param name="right">The second line to compare.</param>
 /// <returns>true if the left and right are equal; otherwise, false.</returns>
 public static bool Equals(Line2f left, Line2f right)
 {
     return(left == right);
 }
예제 #2
0
 /// <summary>
 /// Writes the given <see cref="Line2f"/> to an <see cref="Ibasa.IO.BinaryWriter">.
 /// </summary>
 public static void Write(this Ibasa.IO.BinaryWriter writer, Line2f line)
 {
     writer.Write(line.Start);
     writer.Write(line.End);
 }