mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 16:35:14 -06:00
Moved source to rt4 package so external code can depend on it
This commit is contained in:
parent
dc6deb9151
commit
153d8569b5
624 changed files with 1253 additions and 7 deletions
33
client/src/main/java/rt4/Static76.java
Normal file
33
client/src/main/java/rt4/Static76.java
Normal 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() {
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue