private void tbYTransform_Scroll(object sender, EventArgs e)
 {
     centrePoint.Y           = tbYTransform.Value;
     centrePoint.X           = tbXTransform.Value;
     picMain.BackgroundImage = GraphicsRenderer.DrawCube(picMain, tbXRotate.Value, _yAngle, tbZRotate.Value, centrePoint, tbLength.Value);
 }
 private void Perspective_Resize(object sender, EventArgs e)
 {
     centrePoint             = new Point((picMain.Width / 2), (picMain.Height / 2) + 200);
     picMain.BackgroundImage = GraphicsRenderer.DrawCube(picMain, tbXRotate.Value, _yAngle, tbZRotate.Value, centrePoint, tbLength.Value);
 }