Moved rcBuildCompactHeightfield and rcCreateHeightfield from C-struct wrapper classes (RCCompactHeightfield and RCHeightfield) to separate functions.
Added default buildFlags value (RC_CONTOUR_TESS_WALL_EDGES) in rcBuildContours function.
Fixed wrong offsets in rcCalcBounds method.