/**
* BumpMap class.
*
* Makes a bumpmap from a Screen32.
* 6 Tables: delta x, y for r, g & b channels.
* Just instanciate with the Screen32 and desired (double)height.
* @author: Robert Bögniel.
* @version: haha.
*
*/
public final class BumpMap {
public int mDeltaX[], mDeltaY[];
//Constructor
public BumpMap(Screen32 source, double bumpheight) {
int sc1, sc2, sc3, sc4;
double r1, g1, b1, r2, g2, b2;
double r3, g3, b3, r4, g4, b4;
int width = source.getwidth();
int height = source.getheight();
mDeltaX = new int[source.getwidthheight()];
mDeltaY = new int[source.getwidthheight()];
for(int i=1; i