From 9782a804f6f4ffb8e58c81eb6e3e587ecc820de8 Mon Sep 17 00:00:00 2001 From: berichan <66521620+berichan@users.noreply.github.com> Date: Thu, 3 Feb 2022 16:57:07 +0000 Subject: [PATCH] small clean --- PLAWarper/PLAWarpWindow.cs | 42 +++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/PLAWarper/PLAWarpWindow.cs b/PLAWarper/PLAWarpWindow.cs index 6e971e2..c9b840f 100644 --- a/PLAWarper/PLAWarpWindow.cs +++ b/PLAWarper/PLAWarpWindow.cs @@ -142,27 +142,6 @@ private void label6_Click(object sender, EventArgs e) } - public struct Vector3 - { - public float x, y, z; - - public override string ToString() - { - return $"{x},{y},{z}"; - } - - public static Vector3 FromString(string s) - { - var spl = s.Split(','); - Vector3 v = new Vector3(); - v.x = float.Parse(spl[0]); - v.y = float.Parse(spl[1]); - v.z = float.Parse(spl[2]); - - return v; - } - } - private void label2_Click(object sender, EventArgs e) { @@ -231,4 +210,25 @@ private void button9_Click(object sender, EventArgs e) } } } + + public struct Vector3 + { + public float x, y, z; + + public override string ToString() + { + return $"{x},{y},{z}"; + } + + public static Vector3 FromString(string s) + { + var spl = s.Split(','); + Vector3 v = new Vector3(); + v.x = float.Parse(spl[0]); + v.y = float.Parse(spl[1]); + v.z = float.Parse(spl[2]); + + return v; + } + } }