Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nokonoko1203 committed Oct 7, 2024
1 parent 70c8970 commit ebb3b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nusamai/src/sink/texture_resolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
const MIN_METER_PER_PIXEL: f64 = 0.025;

// WARN: This function has an equivalent in `atlas-packer/src/texture.rs`.
pub fn uv_to_pixel_coords(uv_coords: &[(f64, f64)], width: u32, height: u32) -> Vec<(u32, u32)> {
fn uv_to_pixel_coords(uv_coords: &[(f64, f64)], width: u32, height: u32) -> Vec<(u32, u32)> {
uv_coords
.iter()
.map(|(u, v)| {
Expand Down

0 comments on commit ebb3b0a

Please sign in to comment.