PyGLM
PyGLM copied to clipboard
[Request] Overload __bool__?
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: im pretty sure implementation would just be def __bool__(self): return any(self)