mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Autoformat using tab characters
This commit is contained in:
parent
0b44eca4ba
commit
a3b7beeed7
278 changed files with 22710 additions and 22769 deletions
|
|
@ -15,30 +15,30 @@ public final class ParticleSystem extends ParticleNode {
|
|||
new Buffer(131056);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ga", name = "a", descriptor = "()V")
|
||||
public static void load() {
|
||||
@Pc(1) GL2 gl = GlRenderer.gl;
|
||||
if (gl.isExtensionAvailable("GL_ARB_point_parameters")) {
|
||||
@Pc(20) float[] coefficients = new float[] { 1.0F, 0.0F, 5.0E-4F };
|
||||
gl.glPointParameterfv(GL2.GL_POINT_DISTANCE_ATTENUATION, coefficients, 0);
|
||||
@Pc(28) FloatBuffer buffer = FloatBuffer.allocate(1);
|
||||
gl.glGetFloatv(GL2.GL_POINT_SIZE_MAX, buffer);
|
||||
@Pc(36) float pointSizeMax = buffer.get(0);
|
||||
if (pointSizeMax > 1024.0F) {
|
||||
pointSizeMax = 1024.0F;
|
||||
}
|
||||
gl.glPointParameterf(GL2.GL_POINT_SIZE_MIN, 1.0F);
|
||||
gl.glPointParameterf(GL2.GL_POINT_SIZE_MAX, pointSizeMax);
|
||||
}
|
||||
if (gl.isExtensionAvailable("GL_ARB_point_sprite")) {
|
||||
}
|
||||
}
|
||||
@OriginalMember(owner = "client!ga", name = "a", descriptor = "()V")
|
||||
public static void load() {
|
||||
@Pc(1) GL2 gl = GlRenderer.gl;
|
||||
if (gl.isExtensionAvailable("GL_ARB_point_parameters")) {
|
||||
@Pc(20) float[] coefficients = new float[]{1.0F, 0.0F, 5.0E-4F};
|
||||
gl.glPointParameterfv(GL2.GL_POINT_DISTANCE_ATTENUATION, coefficients, 0);
|
||||
@Pc(28) FloatBuffer buffer = FloatBuffer.allocate(1);
|
||||
gl.glGetFloatv(GL2.GL_POINT_SIZE_MAX, buffer);
|
||||
@Pc(36) float pointSizeMax = buffer.get(0);
|
||||
if (pointSizeMax > 1024.0F) {
|
||||
pointSizeMax = 1024.0F;
|
||||
}
|
||||
gl.glPointParameterf(GL2.GL_POINT_SIZE_MIN, 1.0F);
|
||||
gl.glPointParameterf(GL2.GL_POINT_SIZE_MAX, pointSizeMax);
|
||||
}
|
||||
if (gl.isExtensionAvailable("GL_ARB_point_sprite")) {
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ga", name = "b", descriptor = "()V")
|
||||
public static void quit() {
|
||||
}
|
||||
@OriginalMember(owner = "client!ga", name = "b", descriptor = "()V")
|
||||
public static void quit() {
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ga", name = "d", descriptor = "()V")
|
||||
@OriginalMember(owner = "client!ga", name = "d", descriptor = "()V")
|
||||
public final void method1646() {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue