[brlcad-commits] SF.net SVN: brlcad:[56245] brlcad/trunk/src/libbrep/intersect.cpp
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <n_...@us...> - 2013-07-26 22:37:59
|
Revision: 56245 http://sourceforge.net/p/brlcad/code/56245 Author: n_reed Date: 2013-07-26 22:37:57 +0000 (Fri, 26 Jul 2013) Log Message: ----------- ON_zaxis is obsolete Modified Paths: -------------- brlcad/trunk/src/libbrep/intersect.cpp Modified: brlcad/trunk/src/libbrep/intersect.cpp =================================================================== --- brlcad/trunk/src/libbrep/intersect.cpp 2013-07-26 22:31:09 UTC (rev 56244) +++ brlcad/trunk/src/libbrep/intersect.cpp 2013-07-26 22:37:57 UTC (rev 56245) @@ -2629,7 +2629,7 @@ // TODO: more sample points ON_2dPoint UV1, UV2; UV1 = UV2 = subcurveA->PointAt(subcurveA->Domain().Mid()); - ON_3dVector normal = ON_CrossProduct(subcurveA->TangentAt(subcurveA->Domain().Mid()), ON_zaxis); + ON_3dVector normal = ON_CrossProduct(subcurveA->TangentAt(subcurveA->Domain().Mid()), ON_3dVector::ZAxis); normal.Unitize(); UV1 -= normal*test_distance; // left UV2 += normal*test_distance; // right This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |