import { SubdivisionScheme } from "./SubdivisionScheme" ; class QuadTreeSubdivisionScheme implements SubdivisionScheme { getSubdivisionX ( ) { return 2 ; } getSubdivisionY ( ) { return 2 ; } getLevelDimensionX ( level ) { return 1 << level ; } getLevelDimensionY ( level ) { return 1 << level ; } } /**
 *  SubdivisionScheme representing a quadtree.
  export const quadTreeSubdivisionScheme = new QuadTreeSubdivisionScheme ( ) ;