X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Fsky%2Fcloudfield.hxx;h=5016c6329f3bba01622d770249757aa84cae695b;hb=ccbc5abec63e508261b6d4bdbd5b1f780d233fc8;hp=8bd8599f1a0c9f5928cc2eb8e4e30ac51ecefcab;hpb=2ea9e723c205359a05d2a5c4cb939728d85e3f15;p=simgear.git diff --git a/simgear/scene/sky/cloudfield.hxx b/simgear/scene/sky/cloudfield.hxx index 8bd8599f..5016c632 100644 --- a/simgear/scene/sky/cloudfield.hxx +++ b/simgear/scene/sky/cloudfield.hxx @@ -16,7 +16,7 @@ // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // @@ -76,7 +76,7 @@ private: sgMat4 transform; double deltax, deltay, alt; double last_lon, last_lat, last_course; - + sgSphere field_sphere; float last_density; bool draw_in_3d; @@ -94,7 +94,7 @@ public: void buildTestLayer(void); // Render a cloud field - void Render(void); + void Render( float *sun_color ); // reposition the cloud layer at the specified origin and orientation void reposition( sgVec3 p, sgVec3 up, double lon, double lat, double alt, double dt, float direction, float speed); @@ -104,7 +104,7 @@ public: // visibility distance for clouds in meters static float CloudVis; - static sgVec3 view_vec; + static sgVec3 view_vec, view_X, view_Y; static float density; static double timer_dt;