Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19726/src/net/sourceforge/bprocessor/model
Modified Files:
Camera.java
Log Message:
renamed CONVETIONAL to STANDARD
Index: Camera.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Camera.java,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** Camera.java 17 Dec 2007 13:09:16 -0000 1.54
--- Camera.java 7 Jan 2008 14:52:06 -0000 1.55
***************
*** 42,46 ****
/** The standard window height */
! public static final int CONVETIONAL_WINDOW_HEIGHT = 600;
/** The logger */
--- 42,46 ----
/** The standard window height */
! public static final int STANDARD_HEIGHT = 448;
/** The logger */
***************
*** 734,738 ****
int dpi = Toolkit.getDefaultToolkit().getScreenResolution();
double dpm = (dpi / 2.54) * 100;
! double windowheight = CONVETIONAL_WINDOW_HEIGHT / dpm;
return tal / windowheight;
}
--- 734,738 ----
int dpi = Toolkit.getDefaultToolkit().getScreenResolution();
double dpm = (dpi / 2.54) * 100;
! double windowheight = STANDARD_HEIGHT / dpm;
return tal / windowheight;
}
***************
*** 745,749 ****
int dpi = Toolkit.getDefaultToolkit().getScreenResolution();
double dpm = (dpi / 2.54) * 100;
! double window = CONVETIONAL_WINDOW_HEIGHT / dpm;
double length = current.getFactor() * window;
length /= Math.tan(Math.toRadians(current.getFocalwidth()));
--- 745,749 ----
int dpi = Toolkit.getDefaultToolkit().getScreenResolution();
double dpm = (dpi / 2.54) * 100;
! double window = STANDARD_HEIGHT / dpm;
double length = current.getFactor() * window;
length /= Math.tan(Math.toRadians(current.getFocalwidth()));
|