/* This file was generated by scramble.py. */
#line 1 "src/bumpmap.py"
#ifndef _BUMPMAP_
#define _BUMPMAP_
typedef struct Bumpmap Bumpmap;
#line 1
#include "perlin.h"
#line 3
#include "tile.h"
#include "voronoi.h"
#include "stencil.h"
#line 7
struct Bumpmap {
    int w, h;
    float * bumpmap;
    float * lightmap;
};
Bumpmap * bumpmap_create(int w, int h);
#line 20
void bumpmap_light(Bumpmap * self);
#line 32
void bumpmap_nolight(Bumpmap * self);
#line 40
void bumpmap_outline(Bumpmap * self);
#line 50
void bumpmap_sphere(Bumpmap * self, float cx, float cy, float r);
#line 63
void bumpmap_perlin(Bumpmap * self, float xs, float ys);
#line 72
void bumpmap_voronoi(Bumpmap * self, int n, float randomness);
#line 81
void bumpmap_mul_tile(Bumpmap * self, Tile * tile, Stencil * mask, float mul, float add);
#line 94
void bumpmap_destroy(Bumpmap * self);
#endif
/* This file was generated by scramble.py. */
