Ejemplo n.º 1
0
void
WindowProjection::SetScaleFromRadius(fixed radius)
{
  SetScale(fixed(GetMinScreenDistance()) / (radius * 2));
}
Ejemplo n.º 2
0
void
WindowProjection::SetScaleFromRadius(double radius)
{
  SetScale(double(GetMinScreenDistance()) / (radius * 2));
}
Ejemplo n.º 3
0
 gcc_pure
 int GetMapResolutionFactor() const {
   return GetMinScreenDistance() / 8;
 }