@Override public void update(BasicCamera camera){
  scale=camera.getPixelSizeAt(getWorldTranslation(),true) * PIXEL_SIZE;
  if (Math.abs(scale - oldScale) > 0.0000001) {
    oldScale=scale;
    scaleShape(scale);
  }
}

@ Override public void update ( BasicCamera camera ) { scale = camera . getPixelSizeAt ( getWorldTranslation ( ) , true ) * PIXEL_SIZE ; if ( Math . abs ( scale - oldScale ) > 0.0000001 ) { oldScale = scale ; scaleShape ( scale ) ; } }
update size depending on camera location .
