예제 #1
0
파일: Invariant.cs 프로젝트: RyanLuu/ArChEs
        public override Image generate(Image input)
        {
            Image ret = input;

            for (int i = 0; i < rots; i++)
            {
                ret = Semantics.Orthogonal(ret, 2);
            }
            return(ret);
        }
예제 #2
0
파일: Invariant.cs 프로젝트: RyanLuu/ArChEs
 public override Image generate(Image input)
 {
     return(x ? Semantics.Orthogonal(input, 1) : Semantics.Orthogonal(input, 0));
 }