Ballistic flight r3: name CultMath.float2x2.Rotate in full (the math.float2x2 method shadows the type)

The previous commit (2dcb7b20) does not build: DrawAhead.cs CS0119.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-09 23:29:32 +02:00
commit 6b36835953
2 changed files with 2 additions and 3 deletions

View file

@ -63,7 +63,7 @@ public static class DrawAhead
{
var at = Position(target, lead);
var offset = target.ToWorldPoint((float2) cell) - target.Position.xz;
var turned = mul(offset, float2x2.Rotate(Turn(target, lead)));
var turned = mul(offset, CultMath.float2x2.Rotate(Turn(target, lead)));
return float3(at.x + turned.x, at.y, at.z + turned.y);
}