Revision: 56922
http://sourceforge.net/p/brlcad/code/56922
Author: tbrowder2
Date: 2013-08-17 23:43:40 +0000 (Sat, 17 Aug 2013)
Log Message:
-----------
style
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c
Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c
===================================================================
--- brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c 2013-08-17 23:42:02 UTC
(rev 56921)
+++ brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c 2013-08-17 23:43:40 UTC
(rev 56922)
@@ -117,7 +117,7 @@
t2 = eg->k.knots[eg->k.k_size-1];
coords = RT_NURB_EXTRACT_COORDS(eg->pt_type);
- for (i=0; i<5; i++) {
+ for (i = 0; i < 5; i++) {
fastf_t t;
t = t1 + (t2 - t1)*0.2*(fastf_t)i;
@@ -135,14 +135,14 @@
}
/* translate loop such that pts[0] is at (0, 0, 0) */
- for (edge_no=1; edge_no<edge_count; edge_no++) {
+ for (edge_no = 1; edge_no < edge_count; edge_no++) {
VSUB2(pts[edge_no], pts[edge_no], pts[0]);
pts[edge_no][Z] = 0.0;
}
VSETALL(pts[0], 0.0);
/* calculate area of loop in uv-space */
- for (edge_no=1; edge_no<edge_count-1; edge_no++) {
+ for (edge_no = 1; edge_no < edge_count - 1; edge_no++) {
vect_t cross;
VCROSS(cross, pts[edge_no], pts[edge_no+1]);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits