forked from mirror/DotRecast
cleanup TestMeshDataFactory
This commit is contained in:
parent
34d2ef639a
commit
104b5b02b2
|
@ -65,7 +65,7 @@ public abstract class AbstractDetourTest
|
|||
protected DtNavMesh CreateNavMesh()
|
||||
{
|
||||
var mesh = new DtNavMesh();
|
||||
mesh.Init(RecastTestMeshBuilder.Create(), 6, 0);
|
||||
mesh.Init(TestMeshDataFactory.Create(), 6, 0);
|
||||
return mesh;
|
||||
}
|
||||
}
|
|
@ -33,7 +33,7 @@ public class MeshDataReaderWriterTest
|
|||
[SetUp]
|
||||
public void SetUp()
|
||||
{
|
||||
meshData = RecastTestMeshBuilder.Create();
|
||||
meshData = TestMeshDataFactory.Create();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
|
@ -31,7 +31,7 @@ public class NavMeshBuilderTest
|
|||
[SetUp]
|
||||
public void SetUp()
|
||||
{
|
||||
nmd = RecastTestMeshBuilder.Create();
|
||||
nmd = TestMeshDataFactory.Create();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
|
@ -22,7 +22,7 @@ using DotRecast.Recast.Geom;
|
|||
|
||||
namespace DotRecast.Detour.Test;
|
||||
|
||||
public static class RecastTestMeshBuilder
|
||||
public static class TestMeshDataFactory
|
||||
{
|
||||
private const float m_cellSize = 0.3f;
|
||||
private const float m_cellHeight = 0.2f;
|
|
@ -25,9 +25,6 @@ using NUnit.Framework;
|
|||
|
||||
namespace DotRecast.Recast.Test;
|
||||
|
||||
|
||||
|
||||
|
||||
public class RecastLayersTest
|
||||
{
|
||||
private const float m_cellSize = 0.3f;
|
||||
|
|
Loading…
Reference in New Issue