예제 #1
0
        private void _FillBitmap(Bitmap b)
        {
            FastBitmap givenB = new FastBitmap(b);

            for (int i = 0; i < this.Width; ++i)
            {
                for (int j = 0; j < this.Height; ++j)
                {
                    this.SetPixel(i, j, givenB.GetPixel(i % givenB.Width, j % givenB.Height));
                }
            }
        }
예제 #2
0
 public Color GetPixelOfHeightMap(int x, int y)
 {
     return(_heightMap.GetPixel(x, y));
 }
예제 #3
0
 public Color GetPixelOfTexture(int x, int y)
 {
     return(_texture.GetPixel(x, y));
 }