08-12-2012, 07:17 AM
about the function glLooAt(x,x,x, x,x,x, upx,upy,upz);
if i use it to set my camera,and up vecotr is (0,-1,0),so
what are the pitch,yaw,roll components???
08-13-2012, 12:41 AM
LookAt does not use pitch,yaw,roll. Once you have created the view matrix you can extra the pitch,yaw,roll. These are the euler angles
You might read this
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.