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:
parent
2dcb7b2078
commit
6b36835953
2 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue