Revision: 65555
http://sourceforge.net/p/brlcad/code/65555
Author: ejno
Date: 2015-07-10 19:16:43 +0000 (Fri, 10 Jul 2015)
Log Message:
-----------
check for apex at infinity
Modified Paths:
--------------
brlcad/trunk/src/libgcv/conv/fastgen4/fastgen4_write.cpp
Modified: brlcad/trunk/src/libgcv/conv/fastgen4/fastgen4_write.cpp
===================================================================
--- brlcad/trunk/src/libgcv/conv/fastgen4/fastgen4_write.cpp 2015-07-10
18:00:45 UTC (rev 65554)
+++ brlcad/trunk/src/libgcv/conv/fastgen4/fastgen4_write.cpp 2015-07-10
19:16:43 UTC (rev 65555)
@@ -1111,6 +1111,10 @@
|| !NEAR_ZERO(VDOT(tgc.a, tgc.b), RT_DOT_TOL))
return false;
+ // check for apex at infinity
+ if (VNEAR_ZERO(tgc.c, RT_LEN_TOL))
+ return true;
+
{
// ensure unit vectors are equal
vect_t a_norm, b_norm, c_norm, d_norm;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits