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)); } } }
public Color GetPixelOfHeightMap(int x, int y) { return(_heightMap.GetPixel(x, y)); }
public Color GetPixelOfTexture(int x, int y) { return(_texture.GetPixel(x, y)); }