PyGLM
PyGLM copied to clipboard
Fast OpenGL Mathematics (GLM) for Python
Just wondering if we could add some stub files, because the only thing that pyglm harder to use than numpy is that working in VScode or any editor, there's no...
Hello @Zuzu-Typ ! I think I've located a bug in PyGLM, something that I've experienced repeatedly and randomly the past month. I had hard times trying to reproduce it, and...
Hi, I was wondering how to convert vec4 to quat using PyGLM. The quat constructor does not accept vec4 instances so I tried: ```py glm.quat(*glm.vec4(1, 2, 3, 4)) ``` the...
Fixes #179
I'd really like to see immutable version of existing vec/mat/quat/array types. Personally, I have 2 use cases for such types: Immutable objects that contain glm objects --- I have objects...
I've created type stubs for pyglm (https://github.com/esoma/pyglm-typing). There is a runtime wart with them however, `glm.array` is not generic (as in `typing.Generic`) and my typing stubs are. It works for...
When building RPM packages for openSUSE, we find that the following tests fail when running `pytest`: ```log [ 113s] =================================== FAILURES =================================== [ 113s] _________________________________ test_findMSB _________________________________ [ 113s] [...
+ Using setuptools + build now + Using VERSION for the version constant + Using pyproject.toml instead of just setup.py + PyGLM is now packaged as: + PyGLM (root package)...
Hello! I would like to submit PyGLM as a Pyodide package. This would mean to add a simple meta.yml pointing to the sdist on PyPI. Previously the sdist was broken,...
``` m_model = glm.mat4() # translate m_model = glm.translate(m_model, self.transf.position.getvec3()) # rotate m_model = glm.rotate(m_model, self.transf.rotation.z, glm.vec3(0, 0, 1)) m_model = glm.rotate(m_model, self.transf.rotation.y, glm.vec3(0, 1, 0)) m_model = glm.rotate(m_model, self.transf.rotation.x,...