Hi all,
Just a quick one for you.. when I use the following code:
osg::Vec3 eye, centre, up;
float dist = 0.f;
viewer.getCamera()-getViewMatrixAsLookAt( eye, centre, up, dist );
I seem to get the same value for both eye and centre. Is that supposed
to happen? If so how can I get
Ha sorry my mistake.. I though dist was an output parameter.
Must think before I speak/post!
Kim.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kim C
Bale
Sent: 02 July 2008 11:16
To: OpenSceneGraph Users
Subject: [osg-users] getViewMatrixAsLookAt
Hi all,
Just
2 matches
Mail list logo