From b0ef2ecc8467319f27fd5de45c0bc9906013147b Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 28 Apr 2011 22:08:31 +0200 Subject: host/simu: add transformation matrix push/pop --- host/simu/inter/drawable.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/simu/inter') 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) -- cgit v1.2.3