예제 #1
0
 public static Vector2Int ToVector2Int(this LVector2Int vec)
 {
     return(new Vector2Int(vec.x, vec.y));
 }
예제 #2
0
 public static LVector2 ToLVector2(this LVector2Int vec)
 {
     return(new LVector2(true, vec.x * LFloat.Precision, vec.y * LFloat.Precision));
 }