Revision: 52753
          http://brlcad.svn.sourceforge.net/brlcad/?rev=52753&view=rev
Author:   brlcad
Date:     2012-10-03 23:33:46 +0000 (Wed, 03 Oct 2012)
Log Message:
-----------
more double/fastf_t cleanup

Modified Paths:
--------------
    brlcad/trunk/src/liboptical/sh_billboard.c
    brlcad/trunk/src/liboptical/sh_fire.c
    brlcad/trunk/src/liboptical/sh_grass.c
    brlcad/trunk/src/liboptical/sh_toyota.c

Modified: brlcad/trunk/src/liboptical/sh_billboard.c
===================================================================
--- brlcad/trunk/src/liboptical/sh_billboard.c  2012-10-03 23:23:45 UTC (rev 
52752)
+++ brlcad/trunk/src/liboptical/sh_billboard.c  2012-10-03 23:33:46 UTC (rev 
52753)
@@ -493,7 +493,7 @@
 
 struct imgdist {
     int status;
-    double dist;
+    fastf_t dist;
     struct bbd_img *bi;
     int index;
 };

Modified: brlcad/trunk/src/liboptical/sh_fire.c
===================================================================
--- brlcad/trunk/src/liboptical/sh_fire.c       2012-10-03 23:23:45 UTC (rev 
52752)
+++ brlcad/trunk/src/liboptical/sh_fire.c       2012-10-03 23:33:46 UTC (rev 
52753)
@@ -331,7 +331,7 @@
     point_t sh_i_pt, sh_o_pt;  /* shader space in/out points */
     point_t noise_i_pt, noise_o_pt;    /* shader space in/out points */
     point_t noise_pt;
-    point_t color;
+    double color[3];
     vect_t noise_r_dir;
     double noise_r_thick;
     int i;

Modified: brlcad/trunk/src/liboptical/sh_grass.c
===================================================================
--- brlcad/trunk/src/liboptical/sh_grass.c      2012-10-03 23:23:45 UTC (rev 
52752)
+++ brlcad/trunk/src/liboptical/sh_grass.c      2012-10-03 23:33:46 UTC (rev 
52753)
@@ -674,7 +674,7 @@
  *
  */
 static void
-hit_blade(const struct blade *UNUSED(bl), struct grass_ray *r, struct 
shadework *UNUSED(swp), const struct grass_specific *grass_sp, int UNUSED(seg), 
double *UNUSED(ldist), int UNUSED(blade_num), double UNUSED(fract))
+hit_blade(const struct blade *UNUSED(bl), struct grass_ray *r, struct 
shadework *UNUSED(swp), const struct grass_specific *grass_sp, int UNUSED(seg), 
fastf_t *UNUSED(ldist), int UNUSED(blade_num), double UNUSED(fract))
 
 
 /* defined in material.h */
@@ -705,7 +705,7 @@
 
 
 {
-    double ldist[2];
+    fastf_t ldist[2];
     point_t pt;
     int cond;
     int seg;

Modified: brlcad/trunk/src/liboptical/sh_toyota.c
===================================================================
--- brlcad/trunk/src/liboptical/sh_toyota.c     2012-10-03 23:23:45 UTC (rev 
52752)
+++ brlcad/trunk/src/liboptical/sh_toyota.c     2012-10-03 23:33:46 UTC (rev 
52753)
@@ -142,7 +142,7 @@
 /* New since 4.4 release */
 {
     char mfile[200];
-    fastf_t l, a, b;
+    double l, a, b;
     FILE *fp;
     int i, lines;
     register struct toyota_specific *tp;
@@ -1824,7 +1824,8 @@
 
 {
     char mfile[80];
-    fastf_t a, l, absorp, absorp_h, absorp_l, lambda_h, lambda_l;
+    double a, l;
+    fastf_t absorp, absorp_h, absorp_l, lambda_h, lambda_l;
     fastf_t abso1, lamb1, lamb2, lambrat;
     FILE *fp;
     int n;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to