1
0
Fork 0

Remove now unused functions.

Modified Files:
 	src/Main/renderer.cxx src/Main/renderer.hxx
This commit is contained in:
frohlich 2009-06-28 09:21:51 +00:00 committed by Tim Moore
parent 786c10a69e
commit e9c0c01ebb
2 changed files with 0 additions and 20 deletions

View file

@ -761,16 +761,6 @@ FGRenderer::resize( int width, int height ) {
}
}
void FGRenderer::setCameraParameters(float vfov, float aspectRatio,
float zNear, float zFar)
{
zNear = .1;
osgViewer::Viewer* viewer = globals->get_renderer()->getViewer();
viewer->getCamera()->setProjectionMatrixAsPerspective(vfov,
1.0f / aspectRatio,
zNear, zFar);
}
bool
FGRenderer::pick(std::vector<SGSceneryPick>& pickList,
const osgGA::GUIEventAdapter* ea)

View file

@ -38,12 +38,6 @@ class FGEventHandler;
class SGSky;
extern SGSky *thesky;
extern glPointParameterfProc glPointParameterfPtr;
extern glPointParameterfvProc glPointParameterfvPtr;
extern bool glPointParameterIsSupported;
extern bool glPointSpriteIsSupported;
class FGRenderer {
public:
@ -62,10 +56,6 @@ public:
static void update( bool refresh_camera_settings );
inline static void update() { update( true ); }
/** Set all the camera parameters at once. aspectRatio is height / width.
*/
static void setCameraParameters(float vfov, float aspectRatio,
float zNear, float zFar);
/** Just pick into the scene and return the pick callbacks on the way ...
*/
static bool pick( std::vector<SGSceneryPick>& pickList,