Revision: 53796
http://brlcad.svn.sourceforge.net/brlcad/?rev=53796&view=rev
Author: bob1961
Date: 2012-11-21 16:25:22 +0000 (Wed, 21 Nov 2012)
Log Message:
-----------
Update _ged_translate_tgc() to move H while maintaining perpendicularity among
H, A and B without the random flipping of vectors.
Modified Paths:
--------------
brlcad/trunk/src/libged/translate_tgc.c
Modified: brlcad/trunk/src/libged/translate_tgc.c
===================================================================
--- brlcad/trunk/src/libged/translate_tgc.c 2012-11-21 14:31:14 UTC (rev
53795)
+++ brlcad/trunk/src/libged/translate_tgc.c 2012-11-21 16:25:22 UTC (rev
53796)
@@ -71,8 +71,9 @@
ld = MAGNITUDE(tgc->d);
/* find 2 perpendicular vectors normal to H for new A, B */
- bn_vec_perp(tgc->b, tgc->h);
+ VCROSS(tgc->b, tgc->h, tgc->a);
VCROSS(tgc->a, tgc->b, tgc->h);
+
VUNITIZE(tgc->a);
VUNITIZE(tgc->b);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits