Exemplo n.º 1
0
 void Update()
 {
     if (currXscale != CartesianPlane.SharedPlane.xRatio())
     {
         currXscale = CartesianPlane.SharedPlane.xRatio();
     }
     if (currYscale != CartesianPlane.SharedPlane.yRatio())
     {
         currYscale = CartesianPlane.SharedPlane.yRatio();
     }
     if (!currOffset.Equals(CartesianPlane.SharedPlane.getOrigin()))
     {
         currOffset = CartesianPlane.SharedPlane.getOrigin();
     }
     if (currProcess == FunctionProcess.IDLE)
     {
         line.drawLines();
     }
 }