08-12-2012, 08: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, 01: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 © 2015 vBulletin Solutions, Inc. All rights reserved.