move vector3f to core

This commit is contained in:
ikpil 2023-03-28 00:46:22 +09:00
parent 5aeeeb5f0f
commit f6b3b43442
4 changed files with 8 additions and 8 deletions

View File

@ -16,18 +16,14 @@ 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.Detour.Extras namespace DotRecast.Core
{ {
public class Vector3f public struct Vector3f
{ {
public float x { get; set; } public float x { get; set; }
public float y { get; set; } public float y { get; set; }
public float z { get; set; } public float z { get; set; }
public Vector3f()
{
}
public Vector3f(float x, float y, float z) public Vector3f(float x, float y, float z)
{ {
this.x = x; this.x = x;

View File

@ -5,8 +5,8 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\DotRecast.Recast\DotRecast.Recast.csproj"/> <ProjectReference Include="..\DotRecast.Recast\DotRecast.Recast.csproj" />
<ProjectReference Include="..\DotRecast.Detour\DotRecast.Detour.csproj"/> <ProjectReference Include="..\DotRecast.Detour\DotRecast.Detour.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -16,6 +16,8 @@ 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.
*/ */
using DotRecast.Core;
namespace DotRecast.Detour.Extras.Unity.Astar namespace DotRecast.Detour.Extras.Unity.Astar
{ {
public class GraphMeta public class GraphMeta

View File

@ -16,6 +16,8 @@ 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.
*/ */
using DotRecast.Core;
namespace DotRecast.Detour.Extras.Unity.Astar namespace DotRecast.Detour.Extras.Unity.Astar
{ {
public class NodeLink2 public class NodeLink2