Example usage for org.lwjgl.opengl GL11 glLightf

List of usage examples for org.lwjgl.opengl GL11 glLightf

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL11 glLightf.

Prototype

public static native void glLightf(@NativeType("GLenum") int light, @NativeType("GLenum") int pname,
        @NativeType("GLfloat") float param);

Source Link

Document

Float version of #glLighti Lighti .

Usage

From source file:jpcsp.graphics.RE.RenderingEngineLwjgl.java

License:Open Source License

@Override
public void setLightSpotExponent(int light, float exponent) {
    GL11.glLightf(GL11.GL_LIGHT0 + light, GL11.GL_SPOT_EXPONENT, exponent);
}

From source file:net.smert.frameworkgl.opengl.OpenGL1.java

License:Apache License

public OpenGL1 light(int lightNumber, int light, float value) {
    GL11.glLightf(lightNumber, light, value);
    return this;
}

From source file:tk.ivybits.engine.gl.GL.java

License:Open Source License

public static void glLightf(int a, int b, float c) {
    GL11.glLightf(a, b, c);
}