Re: [Plib-users] Problem with sgHPRfromVec3
Brought to you by:
sjbaker
From: Wolfram K. <w_...@rz...> - 2000-08-17 20:00:51
|
Steve wrote: >What's odd is that this code was just moved out of Tux_AQFH - where >I use it to keep Tux glued onto the ground (given the surface normal >of the polygon). Hm, I simply searched Tux_AQFH for sgHPRfromVec3. There is one occurence in hooks.cxx, but only hpr[0] is used, so this one is uninteresting. There is also one in whale.cxx: sgHPRfromVec3 ( heading, to_tux ) ; [... much deleted] coord.hpr[1] = blend_angle ( coord.hpr[1], -heading[1] ) ; Look at the minus-sign! Bye bye, Wolfram. |