Revision: 52888
http://brlcad.svn.sourceforge.net/brlcad/?rev=52888&view=rev
Author: brlcad
Date: 2012-10-09 15:42:56 +0000 (Tue, 09 Oct 2012)
Log Message:
-----------
just reuse scan, same purpose
Modified Paths:
--------------
brlcad/trunk/src/conv/patch/patch-g.c
Modified: brlcad/trunk/src/conv/patch/patch-g.c
===================================================================
--- brlcad/trunk/src/conv/patch/patch-g.c 2012-10-09 15:39:16 UTC (rev
52887)
+++ brlcad/trunk/src/conv/patch/patch-g.c 2012-10-09 15:42:56 UTC (rev
52888)
@@ -3382,7 +3382,7 @@
char name[NAMESIZE+1];
/* intentionally double for scan */
- double p[3];
+ double scan[3];
BU_LIST_INIT(&head.l);
BU_LIST_INIT(&heada.l);
@@ -3504,8 +3504,8 @@
* triangle surface normal calculations
*/
sscanf(bu_optarg, "%lf %lf %lf",
- &p[0], &p[1], &p[2]);
- VMOVE(Centroid, p); /* double to fastf_t */
+ &scan[0], &scan[1], &scan[2]);
+ VMOVE(Centroid, scan); /* double to fastf_t */
bu_log("Centroid = (%f %f %f)\n", V3ARGS(Centroid));
VSCALE(Centroid, Centroid, mmtin);
@@ -3642,7 +3642,6 @@
nread = read(fd, buf, sizeof(buf)); /* read one line of file into a
buffer */
if (nread > 0) {
- double scan[3];
/* For valid reads, assign values to the input array */
sscanf(buf, "%lf %lf %lf %c %d %d %d %d %d %d %d %d %d %d %d %d %d
%d",
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