Removed heightfield buffer code.