Skip to content

Commit

Permalink
Fix mildly wrong comment (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett authored Dec 24, 2024
1 parent e5319b1 commit 7ccec8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/geometry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::tiles::TilePos;
use crate::{TilemapGridSize, TilemapSize, Transform};

/// Calculates a [`Transform`] for a tilemap that places it so that its center is at
/// `(0.0, 0.0, 0.0)` in world space.
/// `(0.0, 0.0, z)` in world space.
pub fn get_tilemap_center_transform(
size: &TilemapSize,
grid_size: &TilemapGridSize,
Expand Down

0 comments on commit 7ccec8a

Please sign in to comment.