if (env.getVisualizationAngleCenterPoint() != null) {
pos.rotate(env.getVisualizationAngleCenterPoint(), env.getVisualizationAngleRAD());
}
pos.scale(Vector2D.NULL_VECTOR, new Vector2D(scale, scale));
Vector2D midTranslation = new Vector2D(
env.getScreenWidth() / 2,
env.getScreenHeight() / 2);
midTranslation.sub(b.centerPoint());
pos.translate(midTranslation);