Revision: 73112
http://sourceforge.net/p/brlcad/code/73112
Author: starseeker
Date: 2019-05-21 18:56:13 +0000 (Tue, 21 May 2019)
Log Message:
-----------
Doh. Use the normals when defining the 2D trim points from a singular trim.
Modified Paths:
--------------
brlcad/trunk/src/libbrep/cdt.cpp
Modified: brlcad/trunk/src/libbrep/cdt.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt.cpp 2019-05-21 18:45:22 UTC (rev 73111)
+++ brlcad/trunk/src/libbrep/cdt.cpp 2019-05-21 18:56:13 UTC (rev 73112)
@@ -61,7 +61,7 @@
for (int i = 1; i <= 10; i++) {
btp.p3d = p3d;
- btp.n3d = NULL;
+ btp.n3d = n3d;
btp.p2d = v1.Point();
btp.t = trim->Domain().m_t[0] + (i - 1) * delta;
btp.p2d = trim->PointAt(btp.t);
@@ -74,7 +74,7 @@
const ON_BrepVertex& v2 = face.Brep()->m_V[trim->m_vi[1]];
btp.p3d = p3d;
- btp.n3d = NULL;
+ btp.n3d = n3d;
btp.p2d = v2.Point();
btp.t = trim->Domain().m_t[1];
btp.p2d = trim->PointAt(btp.t);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits