From: curt Date: Sun, 3 May 1998 00:48:01 +0000 (+0000) Subject: Updated texture coordinate fmod() parameter. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e7f0f1956c59c9a745039fae4314301758963d69;p=flightgear.git Updated texture coordinate fmod() parameter. --- diff --git a/Scenery/obj.cxx b/Scenery/obj.cxx index fcbd8e0cc..53bb6985e 100644 --- a/Scenery/obj.cxx +++ b/Scenery/obj.cxx @@ -86,8 +86,8 @@ fgPolarPoint3d calc_tex_coords(double *node, fgCartesianPoint3d *ref) { pp = fgCartToPolar3d(cp); - pp.lon = fmod(RAD_TO_DEG * FG_TEX_CONSTANT * pp.lon, 15.0); - pp.lat = fmod(RAD_TO_DEG * FG_TEX_CONSTANT * pp.lat, 15.0); + pp.lon = fmod(RAD_TO_DEG * FG_TEX_CONSTANT * pp.lon, 25.0); + pp.lat = fmod(RAD_TO_DEG * FG_TEX_CONSTANT * pp.lat, 25.0); return(pp); } @@ -448,9 +448,12 @@ GLint fgObjLoad(char *path, fgCartesianPoint3d *ref, double *radius) { /* $Log$ -/* Revision 1.2 1998/05/02 01:52:14 curt -/* Playing around with texture coordinates. +/* Revision 1.3 1998/05/03 00:48:01 curt +/* Updated texture coordinate fmod() parameter. /* + * Revision 1.2 1998/05/02 01:52:14 curt + * Playing around with texture coordinates. + * * Revision 1.1 1998/04/30 12:35:28 curt * Added a command line rendering option specify smooth/flat shading. *