From ddf0cc4e264ce5adc2c823d7e3eb2b2c14cef235 Mon Sep 17 00:00:00 2001 From: jgkim Date: Thu, 22 Jun 2023 06:36:07 +0000 Subject: [PATCH] =?UTF-8?q?=EC=A2=8C=ED=91=9C=20=EB=A1=9C=EA=B7=B8=20?= =?UTF-8?q?=EC=86=8C=EC=88=98=EC=A0=90=20=ED=95=9C=EC=9E=90=EB=A6=AC?= =?UTF-8?q?=EB=A1=9C=20=ED=91=9C=EC=8B=9C.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DotRecast.Recast.Demo/RecastDemo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DotRecast.Recast.Demo/RecastDemo.cs b/src/DotRecast.Recast.Demo/RecastDemo.cs index 6c26ae2..43a9137 100644 --- a/src/DotRecast.Recast.Demo/RecastDemo.cs +++ b/src/DotRecast.Recast.Demo/RecastDemo.cs @@ -650,7 +650,7 @@ public class RecastDemo rayDir.Normalize(); if (rayTool != null) { - Logger.Information($"click ray - tool({rayTool.GetTool().GetName()}) rayStart({rayStart}) pos({rayDir}) shift({processHitTestShift})"); + Logger.Information($"click ray - tool({rayTool.GetTool().GetName()}) rayStart({rayStart.x:0.#},{rayStart.y:0.#},{rayStart.z:0.#}) pos({rayDir.x:0.#},{rayDir.y:0.#},{rayDir.z:0.#}) shift({processHitTestShift})"); rayTool.HandleClickRay(rayStart, rayDir, processHitTestShift); } @@ -673,7 +673,7 @@ public class RecastDemo pos.z = rayStart.z + (rayEnd.z - rayStart.z) * hitTime; if (rayTool != null) { - Logger.Information($"click - tool({rayTool.GetTool().GetName()}) rayStart({rayStart}) pos({pos}) shift({processHitTestShift})"); + Logger.Information($"click - tool({rayTool.GetTool().GetName()}) rayStart({rayStart.x:0.#},{rayStart.y:0.#},{rayStart.z:0.#}) pos({pos.x:0.#},{pos.y:0.#},{pos.z:0.#}) shift({processHitTestShift})"); rayTool.HandleClick(rayStart, pos, processHitTestShift); } }