pub fn compute_local_uvs(
uv_rect: (f32, f32, f32, f32),
uv_anim: (f32, f32, f32, f32, f32),
part_flip: (bool, bool),
image_flip: (bool, bool),
rotated: bool,
) -> ([f32; 5], [f32; 5])Expand description
Computes the local UV coordinates for a part, including UV animation (translate, rotate, scale) and flipping. Returns a tuple containing the u and v coordinates for the 5 vertices.