Delete duplicate geometry vectors

This commit is contained in:
Meta Vens 2026-07-22 03:07:31 +01:00
commit 317b7d538e
7 changed files with 92 additions and 183 deletions

View file

@ -121,7 +121,7 @@ var viewport = await aetheria.Zone(zoneId)
await aetheria.Entity(ravenId)
.Pilot()
.MoveAsync(CultVec2.Right, claim: "pilot-control");
.MoveAsync(new CultMath.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 CultMath.float2(1f, 0f));
```
```ts

View file

@ -393,8 +393,8 @@ var view = new CultMeshNativeSliceViewDescriptor(
rowCount,
new[]
{
CultMeshNativeSliceColumn.For<CultVec2>("position"),
CultMeshNativeSliceColumn.For<CultVec2>("velocity")
CultMeshNativeSliceColumn.For<CultMath.float2>("position"),
CultMeshNativeSliceColumn.For<CultMath.float2>("velocity")
},
new CultMeshRouteHint(CultMeshLocalityKind.SharedMemory));
```