Skip to content

Conversation

@aevyrie
Copy link

@aevyrie aevyrie commented Mar 6, 2022

This adjust the ergonomics a bit to remove the requirement to pass in both image and window resources.

@mockersf
Copy link
Owner

mockersf commented May 2, 2022

this makes it possible to call with two different cameras:

let sized_target = cameraA.target.as_sized_target(windows, images);
cameraB.world_to_screen(sized_target, global_transform, world_pos)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants