Skip to content

Commit

Permalink
docs(bones_render): fix incorrect code comment regarding tilemap coor…
Browse files Browse the repository at this point in the history
…dinates. (#89)
  • Loading branch information
zicklag committed Feb 9, 2023
1 parent 3f06116 commit b912295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bones_render/src/tilemap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl TileLayer {
idx.try_into().ok()
}

/// Get's the tile at the given position in the layer, indexed with the top-left of the layer
/// Get's the tile at the given position in the layer, indexed with the bottom-left of the layer
/// being (0, 0).
pub fn get(&self, pos: UVec2) -> Option<Entity> {
self.idx(pos)
Expand Down

0 comments on commit b912295

Please sign in to comment.