Tell me more ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

This is an extension of the question here and for context, I'm writing a script for Google Earth that generates a tour, and aims the camera in the current direction of the velocity vector.

Heading can be calculated using the information from the linked question, but how is the tilt, relative to the first point's local coordinate system, calculated? 0 degrees is parallel to the surface of the earth, and 90 degrees is looking straight down.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.