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/Pyrr-HEAD/pyrr/test/test_aabb.py   Pyrr(Download)
        """
        points = numpy.array( [ [-1.0,-1.0,-1.0 ] ] )
        result = aabb.create_from_points( points )
 
        expected = numpy.tile( points, (2,1) )
        def single_point():
            points = numpy.array( [ [-1.0,-1.0,-1.0 ] ] )
            obj = aabb.create_from_points( points )
            result = aabb.centre_point( obj )
 
                    ]
                )
            obj = aabb.create_from_points( points )
            result = aabb.centre_point( obj )