CSCI580_Fall_2014: 2.2 version of homework3. Fix the problem of multiple
camera change