2 #ifndef __FG_RENDERER_HXX
3 #define __FG_RENDERER_HXX 1
5 #include <simgear/screen/extensions.hxx>
6 #include <simgear/scene/sky/sky.hxx>
8 #define FG_ENABLE_MULTIPASS_CLOUDS 1
13 extern glPointParameterfProc glPointParameterfPtr;
14 extern glPointParameterfvProc glPointParameterfvPtr;
15 extern bool glPointParameterIsSupported;
28 static void resize(int width, int height );
30 // calling update( refresh_camera_settings = false ) will not
31 // touch window or camera settings. This is useful for the tiled
32 // renderer which needs to set the view frustum itself.
33 static void update( bool refresh_camera_settings );
34 inline static void update() { update( true ); }
37 /** FlightGear code should use this routine to set the FOV rather
38 * than calling the ssg routine directly
40 static void setFOV( float w, float h );
43 /** FlightGear code should use this routine to set the Near/Far
44 * clip planes rather than calling the ssg routine directly
46 static void setNearFar( float n, float f );