private bool Equals(Material other) { return(Equals(Color, other.Color) && Ambient.AlmostEqual(other.Ambient) && Diffuse.AlmostEqual(other.Diffuse) && Specular.AlmostEqual(other.Specular) && Shininess.AlmostEqual(other.Shininess)); }