correct the sign of the absolute head yaw sent to avatar mixer

This commit is contained in:
Stephen Birarda 2013-04-26 11:35:55 -07:00
parent 7c855464e1
commit ded5da47ff

View file

@ -160,7 +160,7 @@ int audioCallback (const void *inputBuffer,
*(currentPacketPtr++) = 255;
// memcpy the corrected render yaw
float correctedYaw = fmodf(data->linkedAvatar->getAbsoluteHeadYaw(), 360);
float correctedYaw = fmodf(-1 * data->linkedAvatar->getAbsoluteHeadYaw(), 360);
if (correctedYaw > 180) {
correctedYaw -= 360;