Moderngl

Latest version: v5.10.0

Safety actively analyzes 630094 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 15 of 17

2.0.7

2.0.6

2.0.5

Improvements

* Windows now has an `exit_key` property that can be used to change or disable the exit key. This key is `ESCAPE` by default and can be disabled by setting the property to `None`. This is useful for users that don't want the default exit key behavior.
* Log consumed glerrors after context creation as warnings

Bug fixes

* Pyglet mouse coordinates was translated wrong in cases were the framebuffer size is larger that then window. The mouse position
should always use window coordinates.
* VAOs should now properly support 64 bit floats / dvec
* VAOs should be better at detecting/ignoring built in attributes
* `Camera.look_at` had broken input validation when passing in a vector
* Various typos in docstrings

2.0.4

* Resolved an issue with version constraints causing some dependencies to install pre-release versions

2.0.3

* Missing `WindowConfig.close` method and support for close callback for all window types
* Bug: `KeyboardCamera`'s matrix is now always returned as a 32bit floats
* Bug: `Projection3D`'s matrix is now always returned as a 32bit floats
* Example cleanup and improvements

2.0.2

* Bug: An `INVALID_ENUM` glerror triggered after querying context info is now consumed.

Page 15 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.