Skip to content
Permalink
0.4.0
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (14 sloc) 406 Bytes
using UnityEngine;
namespace Improbable.Gdk.QueryBasedInterest
{
public static class QueryBasedInterestUtils
{
/// <summary>
/// Extension method for converting a Unity Vector to an EdgeLength.
/// </summary>
public static EdgeLength ToEdgeLength(this Vector3 unityVector)
{
return EdgeLength.FromUnityVector(unityVector);
}
}
}