Zuzu-Typ
Zuzu-Typ
> right now i have to cast the vec4 to quat with `glm.quat(*vec.wxyz)` Yeah, that's sort of what I expected. And if I recall correctly, there is no (easy) way...
[This PR](https://github.com/Zuzu-Typ/PyGLM/pull/180) should do the trick (: I'm a little busy at the moment so I couldn't really do much testing. I believe this works as intended though.
Need to add documentation and need to check the possible bug
Yeah, this is certainly something I should add. Unfortunately I'm currently really short on time. I would recommend checking out Erik Soma's [pyglm-typing](https://pypi.org/project/pyglm-typing/) for the time being.
Hey there (: > I have objects which are immutable which have pyglm object as attributes. Since pyglm objects are mutable, whenever a user wants to access one of these...
Hi there @Wasserwecken, unfortunately, `glm_typing` is not currently available as a sub-package of `glm`. You can however use the following code for the time being: ```Python import importlib glm_typing =...
Unfortunately, this is a bit more complex than it might seem at first. If the array has elements of a number type (e.g. 32-bit floating point values), it's trivial to...
> I was imagining that, if PyGLM already has an implementation of `min(vec2, vec2)` then I would piggy-back on that implementation. Is that a bad approach? That would be a...
This is a bit of a tricky topic. In general, a mod operation and the corresponding div operation need to satisfy the following conditions: ``` q = a div b...
Yes, you're right. A note in the documentation is the least I should do. Perhaps I should also add dedicated `truncdiv`, `floordiv` and their respective mod counterparts `tuncmod`, `floormod` functions,...