All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.daxie.joglf.gl.front.FogFront Maven / Gradle / Ivy

There is a newer version: 11.7.0
Show newest version
package com.daxie.joglf.gl.front;

import com.daxie.basis.coloru8.ColorU8;
import com.daxie.joglf.gl.fog.Fog;

/**
 * Provides methods for fog.
 * @author Daba
 *
 */
public class FogFront {
	private static Fog fog=new Fog();
	
	public static void AddProgram(String program_name) {
		fog.AddProgram(program_name);
	}
	public static void RemoveProgram(String program_name) {
		fog.RemoveProgram(program_name);
	}
	public static void RemoveAllPrograms() {
		fog.RemoveAllPrograms();
	}
	
	public static void SetFogColor(ColorU8 color) {
		fog.SetFogColor(color);
	}
	public static void SetFogStartEnd(float start,float end) {
		fog.SetFogStartEnd(start, end);
	}
	
	public static void Update() {
		fog.Update();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy