Refactored PolyMeshDetail to use lists instead of arrays.
Used BBox3 for the bounds.
Created a new struct/class for the sampling data.