Newer
Older
SproutServerMicro / src / main / java / framework / model3D / BumpMapGenerator.java
s-bekki on 30 Nov 2017 667 bytes initial commit
package framework.model3D;

import javax.media.j3d.TexCoordGeneration;
import javax.media.j3d.Texture;

public class BumpMapGenerator extends MapGenerator {
	private Texture bumpMap = null;
	private TexCoordGeneration texCoorgGen = null;
	private boolean bHorizontal = false;
	
	public BumpMapGenerator(Texture bumpMap, TexCoordGeneration texCoorgGen, boolean bHorizontal) {
		this.bumpMap = bumpMap;
		this.texCoorgGen = texCoorgGen;
		this.bHorizontal = bHorizontal;
	}
	
	public Texture getBumpMap() {
		return bumpMap;
	}

	public TexCoordGeneration getTexCoordGeneration() {
		return texCoorgGen;
	}
	
	public boolean isHorizontal() {
		return bHorizontal;
	}
}