mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
33 lines
1 KiB
Java
33 lines
1 KiB
Java
package rt4;
|
|
|
|
import java.nio.FloatBuffer;
|
|
import com.jogamp.opengl.*;
|
|
import org.openrs2.deob.annotation.OriginalMember;
|
|
import org.openrs2.deob.annotation.Pc;
|
|
|
|
public final class Static76 {
|
|
|
|
@OriginalMember(owner = "client!ga", name = "a", descriptor = "()V")
|
|
public static void method1642() {
|
|
@Pc(1) GL2 local1 = GlRenderer.gl;
|
|
if (local1.isExtensionAvailable("GL_ARB_point_parameters")) {
|
|
@Pc(20) float[] local20 = new float[] { 1.0F, 0.0F, 5.0E-4F };
|
|
local1.glPointParameterfv(GL2.GL_POINT_DISTANCE_ATTENUATION, local20, 0);
|
|
@Pc(28) FloatBuffer local28 = FloatBuffer.allocate(1);
|
|
local1.glGetFloatv(GL2.GL_POINT_SIZE_MAX, local28);
|
|
@Pc(36) float local36 = local28.get(0);
|
|
if (local36 > 1024.0F) {
|
|
local36 = 1024.0F;
|
|
}
|
|
local1.glPointParameterf(GL2.GL_POINT_SIZE_MIN, 1.0F);
|
|
local1.glPointParameterf(GL2.GL_POINT_SIZE_MAX, local36);
|
|
}
|
|
if (local1.isExtensionAvailable("GL_ARB_point_sprite")) {
|
|
}
|
|
}
|
|
|
|
@OriginalMember(owner = "client!ga", name = "b", descriptor = "()V")
|
|
public static void method1643() {
|
|
}
|
|
|
|
}
|