添加了一些用于名称切换数据,可以满足随机名称的要求
This commit is contained in:
@@ -9,6 +9,10 @@ namespace XericLibrary.Runtime.MacroLibrary
|
||||
{
|
||||
public static class Vector2Extend
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static Vector2 OneMinus(this Vector2 a)
|
||||
=> new Vector2(1 - a.x, 1 - a.y);
|
||||
|
||||
[Obsolete("unfinished")]
|
||||
public static Vector2 Projection(this Vector2 point, Vector3 start, Vector3 end)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user