pub fn world_to_tile_center(
        &self,
        cam_transform: &GlobalTransform,
        world_pos: Vec3,
    ) -> Option<Vec3> {
        self.grid.world_to_tile_center(cam_transform, world_pos)
    }
/// Returns the center of a camera tile in world space, or None if it's out of bounds.
Returns the center of a camera tile in world space, or None if it's out of bounds.
Returns the center of a camera tile in world space or None if it ' s out of bounds .
pub fn world_to_tile_center(
        &self,
        cam_transform: &GlobalTransform,
        world_pos: Vec3,
    ) -> Option<Vec3> {
        self.grid.world_to_tile_center(cam_transform, world_pos)
    }
pub fn world_to_tile_center ( & self , cam_transform : & GlobalTransform , world_pos : Vec3 , ) -> Option < Vec3 > { self . grid . world_to_tile_center ( cam_transform , world_pos ) }
Returns the center of a camera tile in world space, or None if it's out of bounds.
Returns the center of a camera tile in world space or None if it ' s out of bounds .
&self
cam_transform
&GlobalTransform
world_pos
Vec3
&self
cam_transform
&GlobalTransform
world_pos
Vec3