style(graphics3d): declare field at the top of class
@@ -17,6 +17,9 @@ import java.nio.ByteBuffer;
public class ViewportOpaqueDrawDispatcher implements DrawDispatcher {
private final Viewport viewport;
+ private UniformBlock uniformMatrices;
+ private UniformTexture uniformTexture;
+
private static class Matrices implements UniformBlock.Value {
private Matrix4fc projMatrix;
private Matrix4fc viewMatrix;
@@ -38,9 +41,6 @@ public class ViewportOpaqueDrawDispatcher implements DrawDispatcher {
}
}
- private UniformBlock uniformMatrices;
- private UniformTexture uniformTexture;
-
public ViewportOpaqueDrawDispatcher(Viewport viewport) {
this.viewport = viewport;
}
