Class ViewFrustum


  • public class ViewFrustum
    extends java.lang.Object
    • Field Detail

      • level

        protected final World level
      • chunkGridSizeY

        protected int chunkGridSizeY
      • chunkGridSizeX

        protected int chunkGridSizeX
      • chunkGridSizeZ

        protected int chunkGridSizeZ
    • Method Detail

      • releaseAllBuffers

        public void releaseAllBuffers()
      • getChunkIndex

        private int getChunkIndex​(int p_212478_1_,
                                  int p_212478_2_,
                                  int p_212478_3_)
      • setViewDistance

        protected void setViewDistance​(int p_178159_1_)
      • repositionCamera

        public void repositionCamera​(double p_178163_1_,
                                     double p_178163_3_)
      • setDirty

        public void setDirty​(int p_217628_1_,
                             int p_217628_2_,
                             int p_217628_3_,
                             boolean p_217628_4_)