forked from bit/DotRecastNetSim
namespace add DemoTool.Tools
This commit is contained in:
parent
c069c1fd54
commit
ba1bdb0295
|
@ -26,6 +26,7 @@ using DotRecast.Detour.QueryResults;
|
||||||
using DotRecast.Recast.DemoTool.Builder;
|
using DotRecast.Recast.DemoTool.Builder;
|
||||||
using DotRecast.Recast.Demo.Draw;
|
using DotRecast.Recast.Demo.Draw;
|
||||||
using DotRecast.Recast.DemoTool;
|
using DotRecast.Recast.DemoTool;
|
||||||
|
using DotRecast.Recast.DemoTool.Tools;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
using static DotRecast.Recast.Demo.Draw.DebugDraw;
|
using static DotRecast.Recast.Demo.Draw.DebugDraw;
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ using DotRecast.Detour.QueryResults;
|
||||||
using DotRecast.Recast.DemoTool.Builder;
|
using DotRecast.Recast.DemoTool.Builder;
|
||||||
using DotRecast.Recast.Demo.Draw;
|
using DotRecast.Recast.Demo.Draw;
|
||||||
using DotRecast.Recast.DemoTool;
|
using DotRecast.Recast.DemoTool;
|
||||||
|
using DotRecast.Recast.DemoTool.Tools;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
using static DotRecast.Recast.Demo.Draw.DebugDraw;
|
using static DotRecast.Recast.Demo.Draw.DebugDraw;
|
||||||
using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives;
|
using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives;
|
||||||
|
|
|
@ -31,6 +31,7 @@ using DotRecast.Recast.DemoTool.Geom;
|
||||||
using DotRecast.Recast.Demo.Tools.Gizmos;
|
using DotRecast.Recast.Demo.Tools.Gizmos;
|
||||||
using DotRecast.Recast.Demo.UI;
|
using DotRecast.Recast.Demo.UI;
|
||||||
using DotRecast.Recast.DemoTool;
|
using DotRecast.Recast.DemoTool;
|
||||||
|
using DotRecast.Recast.DemoTool.Tools;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
using static DotRecast.Recast.Demo.Draw.DebugDraw;
|
using static DotRecast.Recast.Demo.Draw.DebugDraw;
|
||||||
using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives;
|
using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives;
|
||||||
|
|
|
@ -23,6 +23,7 @@ using DotRecast.Recast.DemoTool.Builder;
|
||||||
using DotRecast.Recast.Demo.Draw;
|
using DotRecast.Recast.Demo.Draw;
|
||||||
using DotRecast.Recast.DemoTool;
|
using DotRecast.Recast.DemoTool;
|
||||||
using DotRecast.Recast.DemoTool.Geom;
|
using DotRecast.Recast.DemoTool.Geom;
|
||||||
|
using DotRecast.Recast.DemoTool.Tools;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
using static DotRecast.Recast.Demo.Draw.DebugDraw;
|
using static DotRecast.Recast.Demo.Draw.DebugDraw;
|
||||||
using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives;
|
using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives;
|
||||||
|
|
|
@ -6,6 +6,7 @@ using DotRecast.Detour.QueryResults;
|
||||||
using DotRecast.Recast.DemoTool.Builder;
|
using DotRecast.Recast.DemoTool.Builder;
|
||||||
using DotRecast.Recast.Demo.Draw;
|
using DotRecast.Recast.Demo.Draw;
|
||||||
using DotRecast.Recast.DemoTool;
|
using DotRecast.Recast.DemoTool;
|
||||||
|
using DotRecast.Recast.DemoTool.Tools;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
using static DotRecast.Recast.Demo.Draw.DebugDraw;
|
using static DotRecast.Recast.Demo.Draw.DebugDraw;
|
||||||
using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives;
|
using static DotRecast.Recast.Demo.Draw.DebugDrawPrimitives;
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace DotRecast.Recast.DemoTool
|
||||||
private DemoInputGeomProvider _inputGeom;
|
private DemoInputGeomProvider _inputGeom;
|
||||||
private DtNavMesh _navMesh;
|
private DtNavMesh _navMesh;
|
||||||
private DtNavMeshQuery _navMeshQuery;
|
private DtNavMeshQuery _navMeshQuery;
|
||||||
private readonly RcSampleSettings _settings;
|
private readonly SampleSettings _settings;
|
||||||
private IList<RecastBuilderResult> _recastResults;
|
private IList<RecastBuilderResult> _recastResults;
|
||||||
private bool _changed;
|
private bool _changed;
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ namespace DotRecast.Recast.DemoTool
|
||||||
_inputGeom = inputGeom;
|
_inputGeom = inputGeom;
|
||||||
_recastResults = recastResults;
|
_recastResults = recastResults;
|
||||||
_navMesh = navMesh;
|
_navMesh = navMesh;
|
||||||
_settings = new RcSampleSettings();
|
_settings = new SampleSettings();
|
||||||
|
|
||||||
SetQuery(navMesh);
|
SetQuery(navMesh);
|
||||||
_changed = true;
|
_changed = true;
|
||||||
|
@ -64,7 +64,7 @@ namespace DotRecast.Recast.DemoTool
|
||||||
return _navMesh;
|
return _navMesh;
|
||||||
}
|
}
|
||||||
|
|
||||||
public RcSampleSettings GetSettings()
|
public SampleSettings GetSettings()
|
||||||
{
|
{
|
||||||
return _settings;
|
return _settings;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
namespace DotRecast.Recast.DemoTool
|
namespace DotRecast.Recast.DemoTool
|
||||||
{
|
{
|
||||||
public class RcSampleSettings
|
public class SampleSettings
|
||||||
{
|
{
|
||||||
public float cellSize = 0.3f;
|
public float cellSize = 0.3f;
|
||||||
public float cellHeight = 0.2f;
|
public float cellHeight = 0.2f;
|
|
@ -1,6 +1,6 @@
|
||||||
using DotRecast.Core;
|
using DotRecast.Core;
|
||||||
|
|
||||||
namespace DotRecast.Recast.DemoTool
|
namespace DotRecast.Recast.DemoTool.Tools
|
||||||
{
|
{
|
||||||
public class CrowdAgentData
|
public class CrowdAgentData
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace DotRecast.Recast.DemoTool
|
namespace DotRecast.Recast.DemoTool.Tools
|
||||||
{
|
{
|
||||||
public class CrowdAgentTrail
|
public class CrowdAgentTrail
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace DotRecast.Recast.DemoTool
|
namespace DotRecast.Recast.DemoTool.Tools
|
||||||
{
|
{
|
||||||
public enum CrowdAgentType
|
public enum CrowdAgentType
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Immutable;
|
using System.Collections.Immutable;
|
||||||
|
|
||||||
namespace DotRecast.Recast.DemoTool
|
namespace DotRecast.Recast.DemoTool.Tools
|
||||||
{
|
{
|
||||||
public class CrowdToolMode
|
public class CrowdToolMode
|
||||||
{
|
{
|
|
@ -16,7 +16,7 @@ freely, subject to the following restrictions:
|
||||||
3. This notice may not be removed or altered from any source distribution.
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace DotRecast.Recast.DemoTool
|
namespace DotRecast.Recast.DemoTool.Tools
|
||||||
{
|
{
|
||||||
public class CrowdToolParams
|
public class CrowdToolParams
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace DotRecast.Recast.DemoTool
|
namespace DotRecast.Recast.DemoTool.Tools
|
||||||
{
|
{
|
||||||
public enum DynamicColliderShape
|
public enum DynamicColliderShape
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Immutable;
|
using System.Collections.Immutable;
|
||||||
|
|
||||||
namespace DotRecast.Recast.DemoTool
|
namespace DotRecast.Recast.DemoTool.Tools
|
||||||
{
|
{
|
||||||
public class DynamicUpdateToolMode
|
public class DynamicUpdateToolMode
|
||||||
{
|
{
|
|
@ -18,7 +18,7 @@ freely, subject to the following restrictions:
|
||||||
|
|
||||||
using DotRecast.Detour.Extras.Jumplink;
|
using DotRecast.Detour.Extras.Jumplink;
|
||||||
|
|
||||||
namespace DotRecast.Recast.DemoTool
|
namespace DotRecast.Recast.DemoTool.Tools
|
||||||
{
|
{
|
||||||
public class JumpLinkBuilderToolParams
|
public class JumpLinkBuilderToolParams
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Immutable;
|
using System.Collections.Immutable;
|
||||||
|
|
||||||
namespace DotRecast.Recast.DemoTool
|
namespace DotRecast.Recast.DemoTool.Tools
|
||||||
{
|
{
|
||||||
public class TestNavmeshToolMode
|
public class TestNavmeshToolMode
|
||||||
{
|
{
|
Loading…
Reference in New Issue