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