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

@@ -277,7 +277,7 @@ void PhysicsClientExample::prepareAndSubmitCommand(int commandId)
float viewMatrix[16];
float cameraTargetPosition[3] = {1.0, 2.0, 3.0};
float cameraTargetPosition[3] = {0.0, 0.0, 0.0};
float distance = 1.0;
float yaw = 10.0;
float pitch = 70.0;