private void button12_Click(object sender, EventArgs e) { string s = textBox4.Text; float rx = GetFloat(ref s); textBox4.Text = s; SceneMan.ApplyRotation(new Vector3(rx, 0, 0)); }