We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When going on the queries page, and using a query like:
?Offset($this)
And then looking at the C++ API tag, the suggested code looks like the following:
Declaration:
flecs::query<Offset> q;
Creation:
q = world.query_builder<Offset>() .term_at(0).optional() .build();
Iteration
q.each([](flecs::entity e, Offset&) { });
In all of the C++ code above, offset should be a pointer Offset *.
Offset *
The text was updated successfully, but these errors were encountered:
Nice catch! I'll look into it.
Sorry, something went wrong.
No branches or pull requests
When going on the queries page, and using a query like:
And then looking at the C++ API tag, the suggested code looks like the following:
Declaration:
Creation:
q = world.query_builder<Offset>() .term_at(0).optional() .build();
Iteration
In all of the C++ code above, offset should be a pointer
Offset *
.The text was updated successfully, but these errors were encountered: