mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 23:33:48 +02:00
fixed a comment
This commit is contained in:
parent
c557bf66bb
commit
894715598c
1 changed files with 2 additions and 2 deletions
|
@ -539,9 +539,9 @@ void render_view_frustum() {
|
|||
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
|
||||
// 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);
|
||||
pitch = ::myCamera.getOrientation().getPitch();
|
||||
roll = ::myCamera.getOrientation().getRoll();
|
||||
|
|
Loading…
Reference in a new issue