My projects: SUGG (M, KS), CRZST, SYNONS, URLS, Misc: 3Dengine, UniteHowTo, FliCC, My blog.
Old/abandoned: TheRarestWords (TcCrnch).
Hi, I'm Slava V. and I develop those projects in free time. rarestwords@mail.ru
To main page | 3dengine.org

Heading


Heading (or yaw) (in Heading, pitch and roll angles) is the rotation around VERTICAL axis. Which is Y-positive (or 0,1,0) in default OpenGL.



It determines whether camera is looking north, east, south or west (or any in-between). Usually its -179.999999 degress to 180 degrees (since -180 deg is exactly the same as 180 deg - i.e. looking exactly back via rotation either to the left or to the right).

When pitch is -90 or 90 degress, the heading and roll is pretty much the same thing - it doesn't matter whether human looking exactly up is rotating only his head around the center of his eyes (roll) or he is rotating with all his body around vertical axis (heading).