1. 3
  1.  

  2. 2

    for more applications of least squares in games check out the presentation on the lighting in the last of us.