Skip to content

Commit

Permalink
fix_x_y_camera
Browse files Browse the repository at this point in the history
  • Loading branch information
doisyg authored Dec 26, 2019
1 parent 9173256 commit a59d33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libstage/model_camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ bool ModelCamera::GetFrame(void)
float height = GetGlobalPose().z;
// TODO reposition the camera so it isn't inside the model ( or don't draw the
// parent when calling renderframe )
_camera.setPose(parent->GetGlobalPose().x, parent->GetGlobalPose().y,
_camera.setPose(GetGlobalPose().x, GetGlobalPose().y,
height); // TODO use something smarter than a #define - make
// it configurable
_camera.setYaw(rtod(parent->GetGlobalPose().a) - 90.0
Expand Down

0 comments on commit a59d33c

Please sign in to comment.