Exemplo n.º 1
0
    void Start()
    {
        ApplyMask();

        isEffectExponential = mEffectIsExponential;

        // first application of the deformation
        ApplyDeformations();
        mSourcePreviousTransform = new DeformationSourceState(this);
    }
Exemplo n.º 2
0
 public override bool Equals(object obj)
 {
     if (obj.GetType() == typeof(DeformationSourceState))
     {
         DeformationSourceState source = (DeformationSourceState)obj;
         return(source.range == range && source.coef == coef && base.Equals(obj));
     }
     else
     {
         return(base.Equals(obj));
     }
 }