Searched refs:xCentre (Results 1 – 2 of 2) sorted by relevance
36 private int xCentre; field in MapModel2D71 xCentre = viewportWidth / 2; in MapModel2D()158 x = xCentre; in toPixel()185 x = xCentre - (int) distanceInPixels; in toPixel()188 x = xCentre + (int) distanceInPixels; in toPixel()191 x = xCentre - (int) distanceInPixels; in toPixel()194 x = xCentre + (int) distanceInPixels; in toPixel()197 x = xCentre + (int) distanceInPixels; in toPixel()200 x = xCentre - (int) distanceInPixels; in toPixel()221 double xDistance = distance(xCentre, p.getX()); in toPosition()[all …]
36 private int xCentre; field in MapModel3D71 xCentre = 0; in MapModel3D()187 x = xCentre; in toWorldUnit()214 x = xCentre - (int) distanceInPixels; in toWorldUnit()217 x = xCentre + (int) distanceInPixels; in toWorldUnit()220 x = xCentre - (int) distanceInPixels; in toWorldUnit()223 x = xCentre + (int) distanceInPixels; in toWorldUnit()226 x = xCentre + (int) distanceInPixels; in toWorldUnit()229 x = xCentre - (int) distanceInPixels; in toWorldUnit()253 double xDistance = difference(xCentre, posVec.getX()); in toPosition()[all …]