mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Add some default vectors to MVector3
This commit is contained in:
parent
c4e33ce3c6
commit
4a01e93ac6
@ -1,4 +1,4 @@
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine;
|
||||
namespace NewHorizons.Utility
|
||||
{
|
||||
@ -25,5 +25,12 @@ namespace NewHorizons.Utility
|
||||
{
|
||||
return new Vector3(vec.x, vec.y, vec.z);
|
||||
}
|
||||
|
||||
public static MVector3 zero => Vector3.zero;
|
||||
public static MVector3 one => Vector3.one;
|
||||
public static MVector3 left => Vector3.left;
|
||||
public static MVector3 right => Vector3.right;
|
||||
public static MVector3 up => Vector3.up;
|
||||
public static MVector3 down => Vector3.down;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user