private void RemoveObject(object sender, EventArgs e)
        {
            int index = (int)RemoveSphereIndex.Value;

            if (index < 0 || index > spheres.Count - 1 || spheres.Count == 0)
            {
                MessageBox.Show("Invalid index cannot remove Sphere");
                return;
            }

            spheres.RemoveAt(index);
            ObjectDetailsTexBox.AppendText("Object removed at: " + index + "\n");
        }
        private void CreateSphere(object sender, EventArgs e)
        {
            Sphere temp = new Sphere(SurfaceColor, Center, Velocity, EmissionColor, Radius, Transparency, Reflection, RadiusIncrement);

            spheres.Add(temp);

            ObjectDetailsTexBox.AppendText("Sphere: " + sphereCounter + " Detials\n" +
                                           "PositionXYZ: " + temp.Center.x + " : " + temp.Center.y + " : " + temp.Center.z + "\n" +
                                           "VelocityXYZ: " + temp.Velocity.x + " : " + temp.Velocity.y + " : " + temp.Velocity.z + "\n" +
                                           "SurfaceRGB: " + temp.SurfaceColor.x + " : " + temp.SurfaceColor.y + " : " + temp.SurfaceColor.z + "\n" +
                                           "EmissionColorRGB: " + temp.EmissionColor.x + " : " + temp.EmissionColor.y + " : " + temp.EmissionColor.z + "\n" +
                                           "Radius: " + temp.Radius + "\n" +
                                           "Transparency: " + temp.Transparency + "\n" +
                                           "Reflection: " + temp.Reflection + "\n" +
                                           "RadiusIncrement: " + temp.RadiusIncrement + "\n"
                                           + "\n");

            sphereCounter++;
        }