Revision: 68851
          http://sourceforge.net/p/brlcad/code/68851
Author:   starseeker
Date:     2016-09-19 19:51:15 +0000 (Mon, 19 Sep 2016)
Log Message:
-----------
flip triangles around - this needs more careful study to determine the right 
way to create these...

Modified Paths:
--------------
    brlcad/trunk/src/conv/dyn-g.cpp

Modified: brlcad/trunk/src/conv/dyn-g.cpp
===================================================================
--- brlcad/trunk/src/conv/dyn-g.cpp     2016-09-19 19:45:09 UTC (rev 68850)
+++ brlcad/trunk/src/conv/dyn-g.cpp     2016-09-19 19:51:15 UTC (rev 68851)
@@ -305,12 +305,12 @@
            int np3 = (int)NID_to_array.find(es->nodal_pnts[2])->second;
            int np4 = (int)NID_to_array.find(es->nodal_pnts[3])->second;
            bot_faces[(eind*6)+0] = np1;
-           bot_faces[(eind*6)+1] = np3;
-           bot_faces[(eind*6)+2] = np2;
+           bot_faces[(eind*6)+1] = np2;
+           bot_faces[(eind*6)+2] = np3;
            if (np4 != -1) {
                bot_faces[(eind*6)+3] = np1;
-               bot_faces[(eind*6)+4] = np4;
-               bot_faces[(eind*6)+5] = np3;
+               bot_faces[(eind*6)+4] = np3;
+               bot_faces[(eind*6)+5] = np4;
            } else {
                bot_faces[(eind*6)+3] = -1;
                bot_faces[(eind*6)+4] = -1;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to