Mercurial > hg > dmlib
changeset 363:7d611ebac3e5
Remove unused function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 16 Oct 2012 22:17:04 +0300 |
parents | d6c184800384 |
children | 05c618aa5165 |
files | blittest.c |
diffstat | 1 files changed, 0 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/blittest.c Tue Oct 16 21:55:36 2012 +0300 +++ b/blittest.c Tue Oct 16 22:17:04 2012 +0300 @@ -148,25 +148,6 @@ } } -void DM_Perlin(SDL_Surface *screen, float f) -{ - Uint8 *pix = screen->pixels; - int xc, yc; - - for (yc = 0; yc < screen->h; yc++) - { - Uint8 *dp = pix; - - for (xc = 0; xc < screen->w; xc++) - { - *dp++ = 128 + dmPerlinNoise2D(xc, yc, 0.01, 0.1, 3) / 34.0; - } - - pix += screen->pitch; - } -} - - #define QWIDTH 256 #define QHEIGHT 160