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/Pyrr-HEAD/pyrr/matrix44.py   Pyrr(Download)
    """
    mat = create_identity()
    mat[ 0:3, 0:3 ] = matrix33.create_from_x_rotation( theta )
    return mat
 

src/p/y/pyrr-20130321/pyrr/matrix44.py   pyrr(Download)
    """
    mat = create_identity()
    mat[ 0:3, 0:3 ] = matrix33.create_from_x_rotation( theta )
    return mat
 

src/p/y/Pyrr-HEAD/pyrr/test/test_matrix33.py   Pyrr(Download)
        def rotated_x():
            quat = quaternion.create_from_x_rotation( math.pi )
            result = matrix33.create_from_quaternion( quat )
 
            expected = matrix33.create_from_x_rotation( math.pi )
        def rotated_x():
            mat = matrix33.create_from_x_rotation( math.pi )
            vec = vector3.unit.y
 
            result = matrix33.apply_to_vector( mat, vec )