use camera for 2d rendering
reformat