Agreed. The existing code sure doesn't look right. Probably a cut & paste
error.
 
Robert will want you to post a copy of the changed/corrected file to
osg-submissions.
 
Thanks,
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
303 859 9466
 

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Orhun Birsoy
Sent: Friday, December 08, 2006 10:50 AM
To: [email protected]
Subject: [osg-users] Bug in SimpleViewer


In SimpleViewer::frameUpdateTraversal function, orthographicCamera
calculation has some typos. It should read 

bool orthographicCamera = (pm(0,3)==0.0) && (pm(1,3)==0.0) && (pm(2,3)==0.0)
&& (pm(3,3)== 1.0); 

-- 
Orhun Birsoy 

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to