[FIXED] Splitting chunk data
#7
(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
Reply
Thanks given by:


Messages In This Thread
[FIXED] Splitting chunk data - by xoft - 03-15-2012, 03:09 AM
RE: Splitting chunk data - by FakeTruth - 03-15-2012, 04:44 AM
RE: Splitting chunk data - by xoft - 03-15-2012, 05:14 AM
RE: Splitting chunk data - by FakeTruth - 03-15-2012, 05:46 AM
RE: Splitting chunk data - by xoft - 03-15-2012, 06:21 AM
RE: Splitting chunk data - by FakeTruth - 03-15-2012, 07:33 AM
RE: [FIXED] Splitting chunk data - by xoft - 03-15-2012, 07:26 AM
RE: [FIXED] Splitting chunk data - by xoft - 03-15-2012, 07:55 AM
RE: [FIXED] Splitting chunk data - by FakeTruth - 03-15-2012, 07:57 AM
RE: [FIXED] Splitting chunk data - by xoft - 03-15-2012, 08:02 AM



Users browsing this thread: 4 Guest(s)