Home
last modified time | relevance | path

Searched refs:aux1 (Results 1 – 1 of 1) sorted by relevance

/external/eigen/demos/opengl/
Dquaternion_demo.cpp524 Frame aux1 = mCamera.frame(); in resetCamera() local
525 aux1.orientation = aux1.orientation.inverse(); in resetCamera()
526 aux1.position = mCamera.viewMatrix().translation(); in resetCamera()
527 float duration = aux0.orientation.angularDistance(aux1.orientation) * 0.9; in resetCamera()
531 aux1 = aux0.lerp(duration/2,mInitFrame); in resetCamera()
533 aux1.orientation = aux1.orientation.inverse(); in resetCamera()
534 aux1.position = - (aux1.orientation * aux1.position); in resetCamera()
535 mCamera.setFrame(aux1); in resetCamera()
539 aux1.orientation = aux1.orientation.inverse(); in resetCamera()
540 aux1.position = mCamera.viewMatrix().translation(); in resetCamera()
[all …]