Skip to content

Commit

Permalink
Update Chunk.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tides committed Nov 27, 2024
1 parent 8ff4adf commit ab8729f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Obsidian/WorldData/Chunk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,19 +293,5 @@ public Chunk Clone(int x, int z)
return chunk;
}

//public static byte Encode(Chunk chunk)
//{
// //packed_xz = ((blockX & 15) << 4) | (blockZ & 15) // encode
// //x = packed_xz >> 4, z = packed_xz & 15 // decode

// return ((chunk.X))
//}

//public static byte Decode(byte encodedChords)
//{

//}


private static int SectionIndex(int y) => (y >> 4) + 4;
}

0 comments on commit ab8729f

Please sign in to comment.