Ejemplo n.º 1
0
 /// <summary>
 /// Returns a boolean indicating whether the given Vector3 is equal to this Vector3 instance.
 /// </summary>
 /// <param name="other">The Vector3 to compare this instance to.</param>
 /// <returns>True if the other Vector3 is equal to this instance; False otherwise.</returns>
 public bool Equals(ImVec4 other)
 {
     return(x == other.x &&
            y == other.y &&
            z == other.z &&
            w == other.w);
 }
Ejemplo n.º 2
0
 public ImRect(ImVec4 v) : this(new ImVec2(v.x, v.y), new ImVec2(v.z, v.w))
 {
 }