summaryrefslogtreecommitdiff
path: root/host/simu/inter/drawable.py
diff options
context:
space:
mode:
authorNicolas Schodet2011-04-28 22:08:31 +0200
committerNicolas Schodet2011-04-28 22:08:31 +0200
commitb0ef2ecc8467319f27fd5de45c0bc9906013147b (patch)
tree7575cf51a08b5ef92513e51ce00ecb827c1e1cf8 /host/simu/inter/drawable.py
parenta62e936645808b33558168bd2225c96ad388740c (diff)
host/simu: add transformation matrix push/pop
Diffstat (limited to 'host/simu/inter/drawable.py')
-rw-r--r--host/simu/inter/drawable.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/simu/inter/drawable.py b/host/simu/inter/drawable.py
index bcf1823f..af7c62a2 100644
--- a/host/simu/inter/drawable.py
+++ b/host/simu/inter/drawable.py
@@ -43,6 +43,8 @@ class Drawable:
self.trans_translate = self.__trans_matrix.translate
self.trans_scale = self.__trans_matrix.scale
self.trans_identity = self.__trans_matrix.identity
+ self.trans_push = self.__trans_matrix.push
+ self.trans_pop = self.__trans_matrix.pop
self.__children = [ ]
self.children = self.__children
self.__onto.__children.append (self)