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