Revision: 44839
http://brlcad.svn.sourceforge.net/brlcad/?rev=44839&view=rev
Author: brlcad
Date: 2011-06-08 23:16:49 +0000 (Wed, 08 Jun 2011)
Log Message:
-----------
would be nice to be able to toggle the plotting
Modified Paths:
--------------
brlcad/trunk/src/burst/plot.c
Modified: brlcad/trunk/src/burst/plot.c
===================================================================
--- brlcad/trunk/src/burst/plot.c 2011-06-08 23:15:22 UTC (rev 44838)
+++ brlcad/trunk/src/burst/plot.c 2011-06-08 23:16:49 UTC (rev 44839)
@@ -74,7 +74,12 @@
VJOIN1(endpoint, rayp->r_pt, cellsz, rayp->r_dir);
bu_semaphore_acquire(BU_SEM_SYSCALL);
pl_color(plotfp, R_BURST, G_BURST, B_BURST);
+
+ /* FIXME: would be nice to have some mechanism for toggling
+ * between lines and points (for large collections of rays)
+ */
#if 0
+ /* draw line */
pl_3line(plotfp,
(int) rayp->r_pt[X],
(int) rayp->r_pt[Y],
@@ -84,8 +89,10 @@
endpoint[Z]
);
#else
+ /* draw point */
pl_3point(plotfp, (int) endpoint[X], (int) endpoint[Y], (int) endpoint[Z]);
#endif
+
bu_semaphore_release(BU_SEM_SYSCALL);
return;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits