Skip to content

Conversation

Vipitis
Copy link
Collaborator

@Vipitis Vipitis commented Mar 11, 2024

part of #4

This PR ads the vertical flip option for texture inputs. By default images aren't upside down anymore.
Additionally this PR includes a minor refactor to leverage the numpy and PIL runtime dependencies added in #25. This makes it a step easier to use custom images as textures.
Fixes greyscale textures now behaving like the website reference (they are red).

@Korijn
Copy link
Contributor

Korijn commented Mar 12, 2024

I would suggest to just drop 3.8 :)

@Vipitis
Copy link
Collaborator Author

Vipitis commented Mar 13, 2024

that is also an option. However 3.8 is end of life in a few months and the typing syntax does change with seemingly every single release since.
Type hints in python are very superficial anyways and not really a requirement, just helps the language server.

Alternatively if we really want typing that works across versions using the typing library should do it.

I am okay with leaving it as is

@Vipitis Vipitis merged commit c59a456 into main Mar 13, 2024
@Vipitis Vipitis deleted the add-vflip branch March 13, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants