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

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

src/p/y/PyODE-1.2.1/tests/test_xode.py   PyODE(Download)
 
        self.t3 = transform.Transform()
        self.t3.rotate(1.0, 2.0, 3.0)
        self.node3.setNodeTransform(self.t3)
 
    def testRotation(self):
        ref = transform.Transform()
        ref.rotate(0.0, 0.0, 0.78)
 
        rot = self.body6.getRotation()
    def testIndependantRotation(self):
        ref = transform.Transform()
        ref.rotate(0.0, 0.0, 0.78)
 
        for n1, n2 in zip(self.geom5.getRotation(), ref.getRotation()):
    def testTransformRotation(self):
        ref = transform.Transform()
        ref.rotate(0.78, 0.0, 0.0)
        rot = self.geom6.getGeom().getRotation()
 
    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)