calculating camera heading points