Revision: 44589
http://brlcad.svn.sourceforge.net/brlcad/?rev=44589&view=rev
Author: erikgreenwald
Date: 2011-05-09 19:55:22 +0000 (Mon, 09 May 2011)
Log Message:
-----------
move variable declarations to beginning of block. Change trunc() to floor().
Modified Paths:
--------------
brlcad/trunk/src/adrt/isst_tcltk.c
Modified: brlcad/trunk/src/adrt/isst_tcltk.c
===================================================================
--- brlcad/trunk/src/adrt/isst_tcltk.c 2011-05-09 19:53:16 UTC (rev 44588)
+++ brlcad/trunk/src/adrt/isst_tcltk.c 2011-05-09 19:55:22 UTC (rev 44589)
@@ -122,11 +122,11 @@
int argc;
double az, el;
struct bu_vls tclstr;
- bu_vls_init(&tclstr);
-
vect_t vec;
Togl *togl;
+ bu_vls_init(&tclstr);
+
if (objc < 4) {
Tcl_WrongNumArgs(interp, 1, objv, "load_g pathname object");
return TCL_ERROR;
@@ -287,7 +287,7 @@
resolution = 20;
isst->gs = 0;
} else {
- isst->gs = (int)trunc(isst->w * .05 * resolution);
+ isst->gs = (int)floor(isst->w * .05 * resolution);
}
resize_isst(isst);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits