foxostro / GutsyStorm

Game with voxel graphics similar to Minecraft. (Restart GutsyStorm with Objective-C/Cocoa)
Other
12 stars 4 forks source link

GSChunkVoxelData's management of voxelData array should be extracted to new class. #54

Open foxostro opened 12 years ago

foxostro commented 12 years ago

GSChunkVoxelData's management of voxelData array should be extracted to a new class, much like GSLightingBuffer. Maybe call this one GSVoxelBuffer?

foxostro commented 12 years ago

Chunk sunlight generation now involves copying the voxel data for the entire local neighborhood into a buffer nine times the size of the voxelData array. Management of voxelDat and of that larger buffer could be handled by the same new class.