Graphics primitives bounds testing.