Test conversion from view matrix to yaw pitch roll.

This commit is contained in:
yunfeibai
2017-06-02 16:56:05 -07:00
parent f350a506a6
commit 3506603d60
5 changed files with 29 additions and 9 deletions

View File

@@ -58,9 +58,9 @@ public:
void resetCamera()
{
float dist = 35;
float pitch = -14;
float yaw = 0;
float dist = 1;
float pitch = 70;
float yaw = 10;
float targetPos[3]={0,0,0};
m_guiHelper->resetCamera(dist,yaw,pitch,targetPos[0],targetPos[1],targetPos[2]);
}