path: root/host/simu/robots/aquajim/model
diff options
authorNicolas Schodet2011-04-29 20:35:20 +0200
committerNicolas Schodet2011-04-29 20:35:20 +0200
commit9c9f35753489cba5a61816104ac294857be20941 (patch)
treeba36dbe8fda70ca491fc499128c6f317c532cbc7 /host/simu/robots/aquajim/model
parentde2a1e81eef5054725ae218afaf51dc8e06dedd0 (diff)
host/simu: transpose transformation matrix, reverse transformation order
This is better because transformations can be built incrementally from the container to the contained. This use the same semantic as OpenGL.
Diffstat (limited to 'host/simu/robots/aquajim/model')
1 files changed, 1 insertions, 1 deletions
diff --git a/host/simu/robots/aquajim/model/ b/host/simu/robots/aquajim/model/
index e7b69761..93ff5e2a 100644
--- a/host/simu/robots/aquajim/model/
+++ b/host/simu/robots/aquajim/model/
@@ -58,8 +58,8 @@ class Sorter (Observable):
for i in self.into:
if i.pos is None:
return None
- m.rotate (i.angle)
m.translate (i.pos)
+ m.rotate (i.angle)
return m.apply (pos)
def __arm_motor_notified (self):