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/Pyrr-HEAD/pyrr/quaternion.py   Pyrr(Download)
        return apply( quat, vec )
    elif vec.size == 4:
        vec3 = vector3.create_from_vector4( vec )
        vec3 = apply( quat, vec3 )
        return vector4.create_from_vector3( vec3 )

src/p/y/pyrr-20130321/pyrr/quaternion.py   pyrr(Download)
        return apply( quat, vec )
    elif vec.size == 4:
        vec3 = vector3.create_from_vector4( vec )
        vec3 = apply( quat, vec3 )
        return vector4.create_from_vector3( vec3 )