Skip to content

Commit

Permalink
Fix links to Flecs Rust binding
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMertens committed Jul 14, 2024
1 parent 7abe972 commit 9d7dc59
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ int main(int argc, char *argv[]) {

ECS_SYSTEM(ecs, Move, EcsOnUpdate, Position, Velocity);

ecs_entity_t e = ecs_new(ecs);
ecs_set(ecs, e, Position, {10, 20});
ecs_set(ecs, e, Velocity, {1, 2});
ecs_entity_t e = ecs_insert(ecs,
ecs_value(Position, {10, 20}),
ecs_value(Velocity, {1, 2}));

while (ecs_progress(ecs, 0)) { }
}
Expand Down Expand Up @@ -163,7 +163,7 @@ The following language bindings have been developed with Flecs! Note that these
- C#:
- [BeanCheeseBurrito/Flecs.NET](https://github.com/BeanCheeseBurrito/Flecs.NET)
- Rust:
- [flecs-ecs-rs](https://github.com/Indra-db/flecs-ecs-rs)
- [Flecs-Rust](https://github.com/Indra-db/Flecs-Rust)
- [flecs-polyglot](https://github.com/flecs-hub/flecs-polyglot)
- [flecs-rs](https://github.com/jazzay/flecs-rs)
- Zig:
Expand Down
2 changes: 1 addition & 1 deletion docs/Docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- [C examples](https://github.com/SanderMertens/flecs/tree/master/examples/c)
- [C++ examples](https://github.com/SanderMertens/flecs/tree/master/examples/cpp)
- [C# examples](https://github.com/BeanCheeseBurrito/Flecs.NET/tree/main/src/Flecs.NET.Examples)
- [Rust examples](https://github.com/Indra-db/flecs-ecs-rs/tree/main/flecs_ecs/examples/flecs)
- [Rust examples](https://github.com/Indra-db/Flecs-Rust/tree/main/flecs_ecs/examples/flecs)

## Demos
- [Playground (Flecs Script)](https://www.flecs.dev/explorer/?host=flecs_explorer.wasm)
Expand Down
2 changes: 1 addition & 1 deletion docs/Queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Make sure to check out the query code examples in the repository:

- [queries (C)](https://github.com/SanderMertens/flecs/tree/master/examples/c/queries)
- [queries (C++)](https://github.com/SanderMertens/flecs/tree/master/examples/cpp/queries)
- [queries (Rust)](https://github.com/Indra-db/flecs-ecs-rs/tree/main/flecs_ecs/examples/flecs/queries)
- [queries (Rust)](https://github.com/Indra-db/Flecs-Rust/tree/main/flecs_ecs/examples/flecs/queries)

## Performance and Caching
Understanding the basic architecture of queries helps to make the right tradeoffs when using queries in games. The biggest impact on query performance is whether a query is cached or not. This section goes over what caching is, how it can be used and when it makes sense to use it.
Expand Down

0 comments on commit 9d7dc59

Please sign in to comment.