diff --git a/src/DotRecast.Detour.Extras/Vector3f.cs b/src/DotRecast.Core/Vector3f.cs similarity index 91% rename from src/DotRecast.Detour.Extras/Vector3f.cs rename to src/DotRecast.Core/Vector3f.cs index 1f65d8e..fb1eab5 100644 --- a/src/DotRecast.Detour.Extras/Vector3f.cs +++ b/src/DotRecast.Core/Vector3f.cs @@ -16,18 +16,14 @@ freely, subject to the following restrictions: 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 y { get; set; } public float z { get; set; } - public Vector3f() - { - } - public Vector3f(float x, float y, float z) { this.x = x; diff --git a/src/DotRecast.Detour.Extras/DotRecast.Detour.Extras.csproj b/src/DotRecast.Detour.Extras/DotRecast.Detour.Extras.csproj index b0da5a1..2a71f47 100644 --- a/src/DotRecast.Detour.Extras/DotRecast.Detour.Extras.csproj +++ b/src/DotRecast.Detour.Extras/DotRecast.Detour.Extras.csproj @@ -5,8 +5,8 @@ - - + + diff --git a/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeta.cs b/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeta.cs index f6c62c9..8fbdd19 100644 --- a/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeta.cs +++ b/src/DotRecast.Detour.Extras/Unity/Astar/GraphMeta.cs @@ -16,6 +16,8 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ +using DotRecast.Core; + namespace DotRecast.Detour.Extras.Unity.Astar { public class GraphMeta diff --git a/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2.cs b/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2.cs index 45c06a1..479dd24 100644 --- a/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2.cs +++ b/src/DotRecast.Detour.Extras/Unity/Astar/NodeLink2.cs @@ -16,6 +16,8 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. */ +using DotRecast.Core; + namespace DotRecast.Detour.Extras.Unity.Astar { public class NodeLink2