X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fgroundradar.hxx;h=dc653f2c4d3666b47ec88b9db375bf0d707b1de9;hb=a9a1734f1e1d8e2e4f52309a5965624704385c8a;hp=64cbd04a6fe5b90022eb8533e1a25b0c07597f51;hpb=9bb896dd20341fe1cd003dec9733bb5bd19807df;p=flightgear.git diff --git a/src/Instrumentation/groundradar.hxx b/src/Instrumentation/groundradar.hxx index 64cbd04a6..dc653f2c4 100644 --- a/src/Instrumentation/groundradar.hxx +++ b/src/Instrumentation/groundradar.hxx @@ -35,6 +35,7 @@ class FGRunwayBase; class GroundRadar : public SGPropertyChangeListener, public FGODGauge { public: + static const int TextureHalfSize = 256; GroundRadar(SGPropertyNode* node); virtual ~GroundRadar(); void updateTexture(); @@ -44,8 +45,9 @@ protected: void createTexture(const char* texture_name); void addRunwayVertices(const FGRunwayBase* aRunway, double aTowerLat, double aTowerLon, double aScale, osg::Vec3Array* aVertices); + osg::Geometry *addPavementGeometry(const FGPavement* aPavement, double aTowerLat, double aTowerLon, double aScale); - osg::ref_ptr _geom; + osg::ref_ptr _geode; SGPropertyNode_ptr _airport_node; SGPropertyNode_ptr _range_node; };