mirror of
https://gitflic.ru/project/lax1dude/eaglercraft-1_8.git
synced 2025-07-21 21:11:17 -09:00
49 lines
1.3 KiB
Java
49 lines
1.3 KiB
Java
|
|
# Eagler Context Redacted Diff
|
|
# Copyright (c) 2025 lax1dude. All rights reserved.
|
|
|
|
# Version: 1.0
|
|
# Author: lax1dude
|
|
|
|
> CHANGE 2 : 4 @ 2 : 5
|
|
|
|
~ import net.lax1dude.eaglercraft.v1_8.opengl.GlStateManager;
|
|
~ import net.lax1dude.eaglercraft.v1_8.opengl.ext.deferred.DeferredStateManager;
|
|
|
|
> DELETE 1 @ 1 : 2
|
|
|
|
> DELETE 2 @ 2 : 3
|
|
|
|
> CHANGE 4 : 10 @ 4 : 8
|
|
|
|
~ if (!DeferredStateManager.isInDeferredPass()) {
|
|
~ GlStateManager.disableLighting();
|
|
~ GlStateManager.disableMCLight(0);
|
|
~ GlStateManager.disableMCLight(1);
|
|
~ GlStateManager.disableColorMaterial();
|
|
~ }
|
|
|
|
> CHANGE 3 : 10 @ 3 : 21
|
|
|
|
~ if (!DeferredStateManager.isInDeferredPass()) {
|
|
~ GlStateManager.enableLighting();
|
|
~ GlStateManager.enableMCLight(0, 0.6f, LIGHT0_POS.xCoord, LIGHT0_POS.yCoord, LIGHT0_POS.zCoord, 0.0D);
|
|
~ GlStateManager.enableMCLight(1, 0.6f, LIGHT1_POS.xCoord, LIGHT1_POS.yCoord, LIGHT1_POS.zCoord, 0.0D);
|
|
~ GlStateManager.setMCLightAmbient(0.4f, 0.4f, 0.4f);
|
|
~ GlStateManager.enableColorMaterial();
|
|
~ }
|
|
|
|
> DELETE 2 @ 2 : 14
|
|
|
|
> CHANGE 1 : 8 @ 1 : 6
|
|
|
|
~ if (!DeferredStateManager.isInDeferredPass()) {
|
|
~ GlStateManager.pushMatrix();
|
|
~ GlStateManager.rotate(-30.0F, 0.0F, 1.0F, 0.0F);
|
|
~ GlStateManager.rotate(165.0F, 1.0F, 0.0F, 0.0F);
|
|
~ enableStandardItemLighting();
|
|
~ GlStateManager.popMatrix();
|
|
~ }
|
|
|
|
> EOF
|