update core

This commit is contained in:
2024-10-25 11:44:30 +08:00
parent 830b43c7f0
commit ba9f401013

View File

@@ -9,6 +9,11 @@ namespace Framework.Utils.Extend
{
return new Vector2 (math.abs (vector2.x) , math.abs (vector2.y));
}
public static Vector3 ABS (this Vector3 vector3)
{
return new Vector3 (math.abs (vector3.x) , math.abs (vector3.y) , math.abs (vector3.z));
}
public static Vector3 SetZ (this Vector3 vector3 , float z)
{