| 120 | import org.lwjgl.util.vector.Vector4f; |
| 121 | |
| 122 | public class Shaders |
| 123 | { |
| 124 | static Minecraft mc; |
| 125 | static EntityRenderer entityRenderer; |
| 126 | public static boolean isInitializedOnce = false; |
| 127 | public static boolean isShaderPackInitialized = false; |
| 128 | public static ContextCapabilities capabilities; |
| 129 | public static String glVersionString; |
| 130 | public static String glVendorString; |
| 131 | public static String glRendererString; |
| 132 | public static boolean hasGlGenMipmap = false; |
| 133 | public static int countResetDisplayLists = 0; |
| 134 | private static int renderDisplayWidth = 0; |
| 135 | private static int renderDisplayHeight = 0; |
| 136 | public static int renderWidth = 0; |
| 137 | public static int renderHeight = 0; |
| 138 | public static boolean isRenderingWorld = false; |
| 139 | public static boolean isRenderingSky = false; |
| 140 | public static boolean isCompositeRendered = false; |
| 141 | public static boolean isRenderingDfb = false; |
| 142 | public static boolean isShadowPass = false; |
| 143 | public static boolean isEntitiesGlowing = false; |
| 144 | public static boolean isSleeping; |
| 145 | private static boolean isRenderingFirstPersonHand; |
| 146 | private static boolean isHandRenderedMain; |
| 147 | private static boolean isHandRenderedOff; |
| 148 | private static boolean skipRenderHandMain; |
| 149 | private static boolean skipRenderHandOff; |
| 150 | public static boolean renderItemKeepDepthMask = false; |
| 151 | public static boolean itemToRenderMainTranslucent = false; |
| 152 | public static boolean itemToRenderOffTranslucent = false; |
| 153 | static float[] sunPosition = new float[4]; |
| 154 | static float[] moonPosition = new float[4]; |
| 155 | static float[] shadowLightPosition = new float[4]; |
| 156 | static float[] upPosition = new float[4]; |
| 157 | static float[] shadowLightPositionVector = new float[4]; |
| 158 | static float[] upPosModelView = new float[] {0.0F, 100.0F, 0.0F, 0.0F}; |
| 159 | static float[] sunPosModelView = new float[] {0.0F, 100.0F, 0.0F, 0.0F}; |
| 160 | static float[] moonPosModelView = new float[] {0.0F, -100.0F, 0.0F, 0.0F}; |
| 161 | private static float[] tempMat = new float[16]; |
| 162 | static float clearColorR; |
| 163 | static float clearColorG; |
| 164 | static float clearColorB; |
| 165 | static float skyColorR; |
| 166 | static float skyColorG; |
| 167 | static float skyColorB; |
| 168 | static long worldTime = 0L; |
| 169 | static long lastWorldTime = 0L; |
| 170 | static long diffWorldTime = 0L; |
| 171 | static float celestialAngle = 0.0F; |
| 172 | static float sunAngle = 0.0F; |
| 173 | static float shadowAngle = 0.0F; |
| 174 | static int moonPhase = 0; |
| 175 | static long systemTime = 0L; |
| 176 | static long lastSystemTime = 0L; |
| 177 | static long diffSystemTime = 0L; |
| 178 | static int frameCounter = 0; |
| 179 | static float frameTime = 0.0F; |
nothing calls this directly
no test coverage detected