Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (!(obj is MyNewLoddingSettings))
            {
                return(false);
            }

            MyNewLoddingSettings theOther = (MyNewLoddingSettings)obj;

            if (GBuffer.Equals(theOther.GBuffer))
            {
                return(false);
            }
            if (!CascadeDepths.Equals(theOther.CascadeDepths))
            {
                return(false);
            }
            if (SingleDepth.Equals(theOther.SingleDepth))
            {
                return(false);
            }
            if (Global.Equals(theOther.Global))
            {
                return(false);
            }
            return(true);
        }
Exemplo n.º 2
0
 public void CopyFrom(MyNewLoddingSettings settings)
 {
     GBuffer       = settings.GBuffer;
     CascadeDepths = settings.CascadeDepths;
     SingleDepth   = settings.SingleDepth;
     Global        = settings.Global;
 }