Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/p/y/PyODE-1.2.1/tests/test_xode.py   PyODE(Download)
 
        self.t4 = transform.Transform()
        self.t4.translate(2.0, 3.0, 1.0)
        self.node4.setNodeTransform(self.t4)
 
    def testVector(self):
        ref = transform.Transform()
        ref.rotate(45.0, 45.0, 45.0)
        ref.translate(10.0, 11.0, 12.0)
        ref.scale(2.0, 2.0, 2.0)
    def testRelative(self):
        t1 = transform.Transform()
        t1.translate(1.0, 1.0, 1.0)
        t2 = transform.Transform()
        t2.translate(2.0, 2.0, 2.0)