Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv32121/src/net/sourceforge/bprocessor/gl/view
Modified Files:
Display.java
Log Message:
Index: Display.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/Display.java,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -d -r1.89 -r1.90
*** Display.java 15 May 2009 12:46:05 -0000 1.89
--- Display.java 19 May 2009 10:33:42 -0000 1.90
***************
*** 720,724 ****
private static void draw(Line line) {
! Edge edge = line.edge(grid.size());
//gl.glDepthMask(false);
--- 720,724 ----
private static void draw(Line line) {
! Edge edge = line.edge(grid.getSize());
//gl.glDepthMask(false);
***************
*** 812,816 ****
for (Constructor current : constructors) {
if (!excluded.contains(current)) {
! Collection<Edge> guides = current.guides(grid.size());
selectEdges(guides);
if (current instanceof CoordinateSystem) {
--- 812,816 ----
for (Constructor current : constructors) {
if (!excluded.contains(current)) {
! Collection<Edge> guides = current.guides(grid.getSize());
selectEdges(guides);
if (current instanceof CoordinateSystem) {
***************
*** 1317,1322 ****
private static void draw(Grid grid) {
! double size = grid.size();
! double delta = grid.delta();
CoordinateSystem system = Project.getInstance().getActiveCoordinateSystem();
Vertex origin = system.getOrigin();
--- 1317,1322 ----
private static void draw(Grid grid) {
! double size = grid.getSize();
! double delta = grid.getDistance();
CoordinateSystem system = Project.getInstance().getActiveCoordinateSystem();
Vertex origin = system.getOrigin();
|