From 97adf07aec2bcdaa32e4470e07f0eb68b9f4741c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 7 Oct 2026 17:17:49 +0200 Subject: [PATCH] TurnIsClampedToOne: say that the consumers clamp too Co-Authored-By: Claude Sonnet 5.5 --- tests/Aetheria.Shared.Tests/SteeringTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Aetheria.Shared.Tests/SteeringTests.cs b/tests/Aetheria.Shared.Tests/SteeringTests.cs index 8ff0f021c..17daa889d 100644 --- a/tests/Aetheria.Shared.Tests/SteeringTests.cs +++ b/tests/Aetheria.Shared.Tests/SteeringTests.cs @@ -235,7 +235,8 @@ public sealed class SteeringTests Assert.Equal(-sqrt(sin(radians(80f))), Steering.Toward(ship, Heading(ship, -80f)), 4); } - // Ship.Update clamps the command to -1..1: a Turn of 3 rotates the hull exactly as a Turn of 1 does. + // A Turn of 3 rotates the hull exactly as a Turn of 1 does. Ship.Update clamps it, and every consumer (Thruster.Axis, + // AetherDrive.Axis) clamps again, so removing the Ship clamp alone changes nothing observable. [Fact] public void TurnIsClampedToOne() {