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

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

src/p/y/pygly-20121125/pygly/uv_generators/planar.py   pygly(Download)
        # take our vertices and flatten them against the plane
        plane_vertices = matrix.apply_direction_scale(
            vertices,
            self.plane[ plane.normal ],
            0.0

src/p/y/Pyrr-HEAD/pyrr/test/test_matrix.py   Pyrr(Download)
 
            result = matrix.apply_direction_scale(
                vec,
                direction,
                0.0
            direction = numpy.array( [ 0.0, 0.0, 1.0 ] )
 
            result = matrix.apply_direction_scale( vecs, direction, 0.0 )
 
            expected = numpy.array( vecs )