From e7f0f1956c59c9a745039fae4314301758963d69 Mon Sep 17 00:00:00 2001 From: curt Date: Sun, 3 May 1998 00:48:01 +0000 Subject: [PATCH] Updated texture coordinate fmod() parameter. --- Scenery/obj.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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. *