New package structure
**Important**: PyGLM is now packaged as
+ pyglm (root package)
+ .glm (library)
+ .typing (typing stubs)
+ glm (for backwards compatibility)
Please test this new package structure with your projects and give me feedback in this [discussion](https://github.com/Zuzu-Typ/PyGLM/discussions/263).
To ensure compatibility with the new version, please update your existing imports from
python
import glm
or
from glm import vec3
to
python
from pyglm import glm
or
from pyglm.glm import vec3
You can now also import the typing stubs by esoma:
python
from pyglm import typing
To update your imports for compatibility with old *and* future versions:
Python
try:
from pyglm import glm
typing stubs (optional):
from pyglm import typing
except ImportError:
import glm
typing stubs (optional):
import importlib
typing = importlib.import_module("glm-stubs.glm_typing")
What's Changed
* Make array generic. by esoma in https://github.com/Zuzu-Typ/PyGLM/pull/172
* Updated glm submodule to latest master by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/250
* Fix compiler warnings by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/251
* Add quat_to_vec4 (and vice-versa) documentation by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/252
* Updated PyGLM packaging structure by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/203
* Added visual studio project by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/254
* Adjusted project structure by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/255
* Updated Readme and manifest by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/256
* Fixed readme by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/257
* Test on push only by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/258
* Slightly improved readme by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/259
* Bump Version (2.8.0rc1) by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/262
* Rename module pyglm by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/264
* Bump version (2.8.0rc2) by Zuzu-Typ in https://github.com/Zuzu-Typ/PyGLM/pull/265
New Contributors
* esoma made their first contribution in https://github.com/Zuzu-Typ/PyGLM/pull/172
**Full Changelog**: https://github.com/Zuzu-Typ/PyGLM/compare/2.7.3...2.8.0