Revision: 55546
http://sourceforge.net/p/brlcad/code/55546
Author: brlcad
Date: 2013-05-23 03:48:17 +0000 (Thu, 23 May 2013)
Log Message:
-----------
don't shadow time
Modified Paths:
--------------
brlcad/trunk/src/anim/anim_offset.c
Modified: brlcad/trunk/src/anim/anim_offset.c
===================================================================
--- brlcad/trunk/src/anim/anim_offset.c 2013-05-23 03:41:40 UTC (rev 55545)
+++ brlcad/trunk/src/anim/anim_offset.c 2013-05-23 03:48:17 UTC (rev 55546)
@@ -86,7 +86,7 @@
mat_t mat;
/* intentionally double for scan */
- double time;
+ double timeval;
double scan[3];
VSETALL(temp, 0.0);
@@ -105,7 +105,7 @@
while (1) {
/*read line from table */
- val = scanf("%lf%*[^-0123456789]", &time); /*read time, ignore garbage*/
+ val = scanf("%lf%*[^-0123456789]", &timeval); /*read time, ignore
garbage*/
if (val < 1) {
break;
}
@@ -130,7 +130,7 @@
anim_add_trans(mat, point, zero);
MAT4X3PNT(temp, mat, offset);
- printf("%.10g\t%.10g\t%.10g\t%.10g", time, temp[0], temp[1], temp[2]);
+ printf("%.10g\t%.10g\t%.10g\t%.10g", timeval, temp[0], temp[1],
temp[2]);
if (full_print)
printf("\t%.10g\t%.10g\t%.10g", yaw, pitch, roll);
printf("\n");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits