[Yt-svn] yt: Oops, transposed the unit vectors

hg at spacepope.org hg at spacepope.org
Fri May 14 16:52:04 PDT 2010


hg Repository: yt
details:   yt/rev/560d01bba399
changeset: 1671:560d01bba399
user:      Matthew Turk <matthewturk at gmail.com>
date:
Fri May 14 16:52:00 2010 -0700
description:
Oops, transposed the unit vectors

diffstat:

 yt/extensions/volume_rendering/camera.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 1442a00b97e8 -r 560d01bba399 yt/extensions/volume_rendering/camera.py
--- a/yt/extensions/volume_rendering/camera.py	Fri May 14 16:50:53 2010 -0700
+++ b/yt/extensions/volume_rendering/camera.py	Fri May 14 16:52:00 2010 -0700
@@ -97,8 +97,8 @@
         bounds = (px.min(), px.max(), py.min(), py.max())
         vector_plane = au.VectorPlane(vectors, self.box_vectors[2],
                                       self.back_center, bounds, image,
-                                      self.unit_vectors[1],
-                                      self.unit_vectors[0])
+                                      self.unit_vectors[0],
+                                      self.unit_vectors[1])
         return vector_plane
 
     def snapshot(self):



More information about the yt-svn mailing list