Lensing effect for gravity, adds 3 new gravity maps (full resolution, linear interpolation for faux accuracy), old ones should be removed in time.

This commit is contained in:
Simon Robertshaw
2011-07-18 23:58:08 +01:00
parent 0fbe6e2d3f
commit 68404608f6
5 changed files with 133 additions and 15 deletions

View File

@@ -60,6 +60,8 @@ pixel *resample_img(pixel *src, int sw, int sh, int rw, int rh);
pixel *rescale_img(pixel *src, int sw, int sh, int *qw, int *qh, int f);
void render_gravlensing(pixel *src, pixel * dst);
void sdl_blit_1(int x, int y, int w, int h, pixel *src, int pitch);
void sdl_blit_2(int x, int y, int w, int h, pixel *src, int pitch);