X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Astro%2Fmoon.hxx;h=e69b3ff626a19386b02dbca448f0278009613ebf;hb=33726fc21b6de422efa087b3b3cda60e6439919b;hp=02f35abf184b794b5675aa5737a0422d1e3b19f2;hpb=4ce1ff5f2a6adcb94fd0cc630fdc92e667b6319b;p=flightgear.git diff --git a/Astro/moon.hxx b/Astro/moon.hxx index 02f35abf1..e69b3ff62 100644 --- a/Astro/moon.hxx +++ b/Astro/moon.hxx @@ -38,13 +38,19 @@ class Moon : public CelestialBody private: void TexInit(); // This should move to the constructor eventually. - GLUquadricObj *Object; + GLUquadricObj *moonObject; GLuint Sphere; + GLuint moon_texid; + GLuint moon_halotexid; + GLubyte *moon_texbuf; + GLubyte *moon_halotexbuf; + void setHalo(); public: Moon ( fgTIME *t); + ~Moon(); void updatePosition(fgTIME *t, Star *ourSun); - void newImage(float, float); + void newImage(); };