fixed a comment

This commit is contained in:
ZappoMan 2013-04-18 08:49:07 -07:00
parent c557bf66bb
commit 894715598c

View file

@ -539,9 +539,9 @@ void render_view_frustum() {
position = ::myAvatar.getHeadPosition(); position = ::myAvatar.getHeadPosition();
} }
// This bit of hackery is all because our Camera's report the incorrect yaw. // This bit of hackery is all because our Cameras report the incorrect yaw.
// For whatever reason, the camera has a yaw set to 180.0-trueYaw, so we basically // For whatever reason, the camera has a yaw set to 180.0-trueYaw, so we basically
// need to get the "yaw" from the body // need to get the "yaw" from the camera and adjust it to be the trueYaw
yaw = -(::myCamera.getOrientation().getYaw()-180); yaw = -(::myCamera.getOrientation().getYaw()-180);
pitch = ::myCamera.getOrientation().getPitch(); pitch = ::myCamera.getOrientation().getPitch();
roll = ::myCamera.getOrientation().getRoll(); roll = ::myCamera.getOrientation().getRoll();