示例#1
0
 public virtual Func <Tr> PixImageCube(PixImageCube pic)
 {
     return(() =>
     {
         var typedOther = Other as PixImageCube;
         if (typedOther == null)
         {
             throw new ArgumentException();
         }
         return ProductOp.PixImageCube(pic, typedOther);
     });
 }
示例#2
0
 public Func <PixImage[]> PixImageCube(PixImageCube pic)
 {
     return(() => Level == 0 ? pic.MipMapArray.Map(mm => mm.ImageArray[0]) : new PixImage[0]);
 }
示例#3
0
 public virtual int PixImageCube(PixImageCube c0, PixImageCube c1)
 {
     return(0);
 }
示例#4
0
 public int PixImageCube(PixImageCube pic)
 {
     return(pic.MipMapArray.Sum(mm => mm.ImageArray.Length));
 }
示例#5
0
 public bool PixImageCube(PixImageCube pic0, PixImageCube pic1)
 {
     return(pic0.MipMapArray.AllEqual(pic1.MipMapArray, (mm0, mm1) => mm0.ImageArray.AllEqual(mm1.ImageArray,
                                                                                              ImageEqualFun)));
 }
示例#6
0
 public virtual IPix PixImageCube(PixImageCube pic)
 {
     return(pic);
 }