mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
Remove unused commented out code
This commit is contained in:
parent
7dba1b22e3
commit
67b2098ffb
1 changed files with 0 additions and 8 deletions
|
|
@ -82,14 +82,6 @@ fn test_chk_pos() {
|
|||
assert_eq!(chk_pos(-129), -2);
|
||||
}
|
||||
|
||||
/*fn chunk_local(global: TilePosScalar) -> ChunkLocalTilePosScalar {
|
||||
if global.is_negative() {
|
||||
(CHUNK_EXTENT as i32 + global % CHUNK_EXTENT as i32) as u8
|
||||
} else {
|
||||
(global % CHUNK_EXTENT as i32) as u8
|
||||
}
|
||||
}*/
|
||||
|
||||
fn chunk_local(global: TilePosScalar) -> ChunkLocalTilePosScalar {
|
||||
let mut result = global % CHUNK_EXTENT as i32;
|
||||
if result.is_negative() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue