public override bool Equals(object obj) { UniformValueInt2 o = obj as UniformValueInt2; if (o == null) { return(false); } return(X == o.X && Y == o.Y); }
public void Set(IUniformValue source) { UniformValueInt2 other = source as UniformValueInt2; if (other == null) { return; } X = other.X; Y = other.Y; }