fixed pinhole camera

thx @misch for spotting my error