From 9dcce987fd0eba713d07084826b32f110defea28 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 29 Sep 2026 16:57:31 +0200 Subject: [PATCH] Update Mesh docs that still named CultVec2 and CultRect Co-Authored-By: Claude Sonnet 5 --- .../docs/cross-runtime-primitives-roadmap.md | 8 ++++---- src/GameCult.Mesh/docs/public-api.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/GameCult.Mesh/docs/cross-runtime-primitives-roadmap.md b/src/GameCult.Mesh/docs/cross-runtime-primitives-roadmap.md index 93fb3f3c..5b0048de 100644 --- a/src/GameCult.Mesh/docs/cross-runtime-primitives-roadmap.md +++ b/src/GameCult.Mesh/docs/cross-runtime-primitives-roadmap.md @@ -116,12 +116,12 @@ var aetheria = verse.Use(AetheriaRuntime.Schema); var viewport = await aetheria.Zone(zoneId) .Objects() .VisibleTo(controlledUnits) - .Within(CultRect.FromBounds(-400, -250, 400, 250)) + .Within(new rect(-400f, -250f, 400f, 250f)) .QueryAsync(); await aetheria.Entity(ravenId) .Pilot() - .MoveAsync(CultVec2.Right, claim: "pilot-control"); + .MoveAsync(new float2(1f, 0f), claim: "pilot-control"); ``` Current seed: @@ -134,7 +134,7 @@ var verse = await CultMesh.ConnectVerseAsync( new[] { new CultMeshAuthorityClaim("pilot-control", shardId: "zone:raven") }); var aetheria = verse.Use(context => new AetheriaGeneratedFacade(context)); -await aetheria.Entity(ravenId).Pilot.MoveAsync(CultVec2.Right); +await aetheria.Entity(ravenId).Pilot.MoveAsync(new float2(1f, 0f)); ``` ```ts @@ -177,7 +177,7 @@ let viewport = aetheria .zone(zone_id) .objects() .visible_to(&controlled_units) - .within(CultRect::from_bounds(-400.0, -250.0, 400.0, 250.0)) + .within(rect::new(-400.0, -250.0, 400.0, 250.0)) .query() .await?; ``` diff --git a/src/GameCult.Mesh/docs/public-api.md b/src/GameCult.Mesh/docs/public-api.md index df1735b6..e9f19ab7 100644 --- a/src/GameCult.Mesh/docs/public-api.md +++ b/src/GameCult.Mesh/docs/public-api.md @@ -407,8 +407,8 @@ var view = new CultMeshNativeSliceViewDescriptor( rowCount, new[] { - CultMeshNativeSliceColumn.For("position"), - CultMeshNativeSliceColumn.For("velocity") + CultMeshNativeSliceColumn.For("position"), + CultMeshNativeSliceColumn.For("velocity") }, new CultMeshRouteHint(CultMeshLocalityKind.SharedMemory)); ```