Text archives Help
- From: sparker@sci.utah.edu
- To: rtrt@sci.utah.edu
- Subject: [MANTA] r291 - branches/newPointVector/Core/Geometry
- Date: Wed, 11 May 2005 22:49:05 -0600 (MDT)
Author: sparker
Date: Wed May 11 22:49:05 2005
New Revision: 291
Modified:
branches/newPointVector/Core/Geometry/AffineTransform.cc
Log:
Fixed bug in rotate - normalize from_, not from
Modified: branches/newPointVector/Core/Geometry/AffineTransform.cc
==============================================================================
--- branches/newPointVector/Core/Geometry/AffineTransform.cc (original)
+++ branches/newPointVector/Core/Geometry/AffineTransform.cc Wed May 11
22:49:05 2005
@@ -87,8 +87,8 @@
// "Efficiently Building a Matrix to Rotate One Vector to Another"
// Don't assume that to and from are normalized.
- VectorT<T,3> from = from.normal();
- VectorT<T,3> to = to.normal();
+ VectorT<T,3> from = from_.normal();
+ VectorT<T,3> to = to_.normal();
VectorT<T, 3> v = Cross(from, to);
T e = Dot(from, to);
- [MANTA] r291 - branches/newPointVector/Core/Geometry, sparker, 05/11/2005
Archive powered by MHonArc 2.6.16.