03-15-2012, 07:33 AM
(03-15-2012, 06:21 AM)xoft Wrote: Can you imagine indexing the array if you had dynamic chunk height AND a joined array?
m_BlockData[XZSliceSize * ChunkHeight + XZSliceNibbleSize * ChunkHeight + XZSliceNibbleSize * ChunkHeight + IndexToSkyLight]
Actually we were already using offsetted pointers, so there's no need for IndexToSkyLight