From da513972e8ea1295afef5e8e8b109e4504244874 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Sat, 1 Feb 2025 15:26:13 +0100 Subject: [PATCH] Simplify message to be single-line with less text #2990 --- Source/Engine/Core/Math/Ray.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Core/Math/Ray.cs b/Source/Engine/Core/Math/Ray.cs index afd8242ff..59ef6eb58 100644 --- a/Source/Engine/Core/Math/Ray.cs +++ b/Source/Engine/Core/Math/Ray.cs @@ -78,7 +78,7 @@ namespace FlaxEngine { Position = position; Direction = direction; - Assert.IsTrue(Direction.IsNormalized, $"The Ray Direction was not normalized\nRay Direction: {direction}, Ray Length: {direction.Length}"); + Assert.IsTrue(Direction.IsNormalized, $"The Ray Direction was not normalized (direction: {direction}, length: {direction.Length})"); } ///