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

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

src/p/y/pygly-20121125/pygly/transform.py   pygly(Download)
        super( Transform, self ).__init__()
 
        self._orientation = quaternion.identity()        
        self._translation = numpy.zeros( 3, dtype = numpy.float )
        self._scale = numpy.ones( 3, dtype = numpy.float )

src/p/y/PyGLy-HEAD/pygly/test/test_scene_node.py   PyGLy(Download)
    # Quaternion
    #
    quat = quaternion.identity()
    unittest.assertTrue(
        numpy.allclose( node.transform.orientation, quat ),