entt::observer - how to implement logical OR / AND between matchers? #1132
Unanswered
eladm-ultrawis
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The first list is a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following components:
I want to my
entt::observer
to contain the entities that satisfy the following conditions:(have all of the components: TransformComponent, PerspectiveTransformComponent, CameraRenderUniformBufferComponent)
AND
(TransformComponent is patched OR PerspectiveTransformComponent is patched OR it also has DirtyTransformComponent).
Currently, I managed to make it work somehow with the following incomprehensible statement:
My questions are:
On a side note, I think entt::observer is a great idea, but:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions