Revision: 56555
http://sourceforge.net/p/brlcad/code/56555
Author: brlcad
Date: 2013-08-05 04:21:57 +0000 (Mon, 05 Aug 2013)
Log Message:
-----------
this looks interesting/significant but no indication as to why it's if 0'd, so
trimming it away. easy to revert if needed.
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/bot/bot_wireframe.cpp
Modified: brlcad/trunk/src/librt/primitives/bot/bot_wireframe.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/bot/bot_wireframe.cpp 2013-08-05
04:20:33 UTC (rev 56554)
+++ brlcad/trunk/src/librt/primitives/bot/bot_wireframe.cpp 2013-08-05
04:21:57 UTC (rev 56555)
@@ -162,27 +162,6 @@
}
bu_free(face_normals, "face_normals");
-#if 0
- // Each face will have 3 edges
- unsigned int *faces = (unsigned int *)bu_calloc(bot->num_faces * 3,
sizeof(unsigned int), "face definitions via edge ids");
- // Max possible need for this array is 3 edges for each face, 2 vertex
indices per edge
- unsigned int *edges = (unsigned int *)bu_calloc(bot->num_faces * 3 * 2,
sizeof(unsigned int), "2d array of edge id to vert index mappings");
-
- unsigned int cnt = edge_mappings(bot, &faces, &edges);
-
- // Each edge will have at most 2 faces, and hence a maximum of 2 patches
- unsigned int *edges_to_faces = (unsigned int *)bu_calloc(cnt * 2,
sizeof(unsigned int), "face definitions via edge ids");
-
- for (unsigned int i = 0; i < bot->num_faces; i++) {
- unsigned int id = 2 * faces[i*3+0];
- if (!edges_to_faces[id]) {
- edges_to_faces[id] = i + 1;
- } else {
- edges_to_faces[id + 1] = i + 1;
- }
- }
-#endif
-
/* Determine the maximun number of faces associated with any one vertex */
unsigned int *vert_face_cnt = (unsigned int *)bu_calloc(bot->num_vertices,
sizeof(unsigned int), "vert face cnt");
for (unsigned int i = 0; i < bot->num_faces; i++) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits