PyGLM icon indicating copy to clipboard operation
PyGLM copied to clipboard

Fast OpenGL Mathematics (GLM) for Python

Results 19 PyGLM issues
Sort by recently updated
recently updated
newest added

I'd expect 0 vector cases like `bool(vec2())` to be `False` but it seems to be True. Is this intended? It would be really convenient for this to be performed Edit:...

Fixes #211 I think I found where this needs to be added in the code, but it would be way faster for you to point out what exactly I should...

My benchmark was pretty informal, I used this hyperfine invocation: ```shell > hyperfine --runs 5 --parameter-list impl pyglm,python 'python .\test-{impl}-min-max.py' ``` The two python scripts were this file, but with...

enhancement

Hello @Zuzu-Typ I've noticed a strange behavior of the glm constructors: they accept all kind of numbers when creating a glm type from separated components, but only the native python...

enhancement

In Python, the result of `a % b` for integers `a` and `b` always has the same sign as `b`. Numpy follows this convention as well. PyGLM, however, does not...

enhancement

I would like to reuse the defined types of the glm libary in my own methods. Because I dont want to loose the already defined type casts. But I am...

bug

glm version: 2.7.1 test code: \>\>\> import glm \>\>\> data = [1000000.1234, 20000000.1234, 3000000.1234] \>\>\> a = glm.dvec3(data) \>\>\> b = glm.dvec3(*data) \>\>\> a-b dvec3( 0.0016, -0.1234, -0.1234 ) \>\>\>...

The matmul operator should be implemented as: ```Python vector1 @ vector2 == glm.dot(v1, v2) # already the case: matrix @ vector == matrix * vector # already the case: matrix1...

I'm considering using [google/highway](https://github.com/google/highway) to utilize SIMD instructions. This could drastically increase the performance of array operations, which currently are slow when using large amounts of data. Numpy also uses...

enhancement