]> git.mxchange.org Git - flightgear.git/commitdiff
Updated texture coordinate fmod() parameter.
authorcurt <curt>
Sun, 3 May 1998 00:48:01 +0000 (00:48 +0000)
committercurt <curt>
Sun, 3 May 1998 00:48:01 +0000 (00:48 +0000)
Scenery/obj.cxx

index fcbd8e0cc76d1a1b284bae1ac11c6d42a351d4fe..53bb6985e1346e2ce12a710e2857f8e6d4bb6de3 100644 (file)
@@ -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.
  *