예제 #1
0
 public static LVector3 ToLVector3(this Vector3 vec)
 {
     return(new LVector3(
                LMath.ToLFloat(vec.x),
                LMath.ToLFloat(vec.y),
                LMath.ToLFloat(vec.z)));
 }
예제 #2
0
 public static LVector2 ToLVector2(this Vector2 vec)
 {
     return(new LVector2(
                LMath.ToLFloat(vec.x),
                LMath.ToLFloat(vec.y)));
 }