Moved source to rt4 package so external code can depend on it

This commit is contained in:
Pazaz 2022-04-25 05:31:58 -04:00
parent dc6deb9151
commit 153d8569b5
624 changed files with 1253 additions and 7 deletions

View file

@ -0,0 +1,33 @@
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() {
}
}