private FloatRect GetRenderRectOriginal(float zoom, float width, float height) { Vector2 viewpos = (Vector2)ViewPosition; var sz = new Vector2(width / zoom, height / zoom); const float Box = 0.125f; var rect = new FloatRect(((Vector2)AimPosition - (sz * Box)), sz * Box * 2); if (game.Track.Animating) { viewpos = rect.Clamp(viewpos); } ViewPosition = (Vector2d)viewpos; var pos = viewpos; pos -= sz / 2; return(new FloatRect(pos, sz)); }