mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 13:11:33 +00:00
decrease memory usage by storing chunk colours as 8bit (at the cost of slower mesh generation)
This commit is contained in:
@ -123,7 +123,7 @@ public struct Chunk: Hashable {
|
||||
|
||||
public enum BlockType: Hashable {
|
||||
case air
|
||||
case solid(_ color: Color<Float>)
|
||||
case solid(_ color: Color<UInt8>)
|
||||
}
|
||||
|
||||
public struct Block: Hashable {
|
||||
|
Reference in New Issue
Block a user