示例#1
0
文件: aambb.py 项目: jstasiak/Pyrr
def maximum( bb ):
    """Returns the maximum point of the AABB.
    """
    return aabb.maximum( bb )
示例#2
0
 def test_maximum(self):
     a = aabb.create_from_bounds([-1, -1, -1], [1, 1, 1])
     result = aabb.maximum(a)
     self.assertTrue(np.array_equal(result, [1, 1, 1]))
示例#3
0
文件: test_aabb.py 项目: RazerM/Pyrr
 def test_maximum(self):
     a = aabb.create_from_bounds([-1,-1,-1],[1,1,1])
     result = aabb.maximum(a)
     self.assertTrue(np.array_equal(result, [1,1,1]))