Ejemplo n.º 1
0
/*! 
Returns the width of the screen at focal distance. In stereo rendering this
shoud correspond to the width of the projection plane.
*/
SLfloat SLCamera::focalDistScrW() const
{  
    return focalDistScrH() * _aspect;
}
Ejemplo n.º 2
0
/*! 
Returns the width of the screen at focal distance. In stereo rendering this
shoud correspond to the width of the projection plane.
*/
SLfloat SLCamera::focalDistScrW()
{  
   SLSceneView* sv = SLScene::current->activeSV();
   return focalDistScrH() * sv->scrWdivH();
}