src/glRenderer.cpp

changeset 1223
4f8fa42aed07
parent 1222
34def2630300
child 1224
5a31b6d4bf81
equal deleted inserted replaced
1222:34def2630300 1223:4f8fa42aed07
557 } 557 }
558 558
559 cx *= negXFac; 559 cx *= negXFac;
560 cy *= negYFac; 560 cy *= negYFac;
561 561
562 RoundToDecimals(cx, 4); 562 cx = RoundToDecimals(cx, 4);
563 RoundToDecimals(cy, 4); 563 cy = RoundToDecimals(cy, 4);
564 564
565 // Create the vertex from the coordinates 565 // Create the vertex from the coordinates
566 pos3d.setCoordinate(axisX, cx); 566 pos3d.setCoordinate(axisX, cx);
567 pos3d.setCoordinate(axisY, cy); 567 pos3d.setCoordinate(axisY, cy);
568 pos3d.setCoordinate((Axis)(3 - axisX - axisY), getDepthValue()); 568 pos3d.setCoordinate((Axis)(3 - axisX - axisY), getDepthValue());

mercurial