diff options
author | makamys <makamys@outlook.com> | 2023-12-02 15:13:20 +0100 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2023-12-03 00:38:41 +0100 |
commit | 69afa99a2cd190310f13ae6d1737325533951aa3 (patch) | |
tree | 85a752bd3b4460d1cf1e7c565e09f1e61ac098d3 /src/main/java/makamys/neodymium/renderer/NeoRenderer.java | |
parent | 3aa975f0a53a9d95fef1b4efffaf1483f9e7945a (diff) | |
download | Neodymium-69afa99a2cd190310f13ae6d1737325533951aa3.tar.gz Neodymium-69afa99a2cd190310f13ae6d1737325533951aa3.tar.bz2 Neodymium-69afa99a2cd190310f13ae6d1737325533951aa3.zip |
Move NeoRenderer#attributes to top of class
I put fields in the middle of the class if they're only used internally in the
next couple methods, but attributes is (indirectly) used in multiple
classes.
Diffstat (limited to 'src/main/java/makamys/neodymium/renderer/NeoRenderer.java')
-rw-r--r-- | src/main/java/makamys/neodymium/renderer/NeoRenderer.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java index 613871a..9b33b91 100644 --- a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java +++ b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java @@ -76,6 +76,7 @@ public class NeoRenderer { private IntBuffer[] piCount = new IntBuffer[2]; private List<Mesh>[] sentMeshes = (List<Mesh>[])new ArrayList[] {new ArrayList<Mesh>(), new ArrayList<Mesh>()}; GPUMemoryManager mem; + private AttributeSet attributes; private Map<ChunkCoordIntPair, NeoRegion> loadedRegionsMap = new HashMap<>(); @@ -394,8 +395,6 @@ public class NeoRenderer { fogStartEnd.position(0); } - private AttributeSet attributes; - /** * @implSpec The attributes here need to be kept in sync with {@link MeshQuad#writeToBuffer(BufferWriter)} */ |