From 7d5295ec81f76c97220229a705f9e0a1390bb64c Mon Sep 17 00:00:00 2001 From: Ullrich Praetz Date: Sat, 10 Aug 2024 08:21:09 +0200 Subject: [PATCH] Tests - simplify BoostedQuery() example --- src/Tests/ECS/Examples/Optimization.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tests/ECS/Examples/Optimization.cs b/src/Tests/ECS/Examples/Optimization.cs index 2b0ff05f..ca4dab20 100644 --- a/src/Tests/ECS/Examples/Optimization.cs +++ b/src/Tests/ECS/Examples/Optimization.cs @@ -23,7 +23,7 @@ public static void BoostedQuery() { var store = new EntityStore(); for (int n = 0; n < 100; n++) { - store.CreateEntity(new Position(n, 0, 0), new Velocity{ value = new Vector3(0, n, 0)}); + store.CreateEntity(new Position(), new Velocity()); } var query = store.Query(); query.Each(new MoveEach()); // requires https://www.nuget.org/packages/Friflo.Engine.ECS.Boost